| User | Post |
|
6:59 am 3 Jan 2008
| webzu
Member
| | | |
|
| posts 5 |
|
|
Hello,
I’m loving this plugin! I’m having an odd issue…
I can’t "see" the manage options of the fourm from the admin section of WordPress (screen shot below).
On page 50 of the manual it indicates to replace some code in sf-includes.php file but that is for V2.0 and I’m using V2.1. I took a look at sf-includes.php but that code wasn’t there:
function sf_admin_css()
{
if((isset($_GET['page'])) && (strpos($_GET['page'], ’simple-forum’))!==false)
{ ?>
<link rel="stylesheet" type="text/css" href="<?php echo(SFADMINURL);?>sf-admin.css" />
<script type="text/javascript">
var tabberOptions = {manualStartup:true};
document.write(’<style type="text/css">.tabber{display:none;}</style>’);
</script>
<script type="text/javascript" src="<?php echo(SFADMINURL);?>tabber.js"></script>
<script type="text/javascript">
addLoadEvent(tabberAutomaticOnLoad);
</script>
<?php }
return;
}
Screenshot:

Any help would be appreciated.
Alan
|
|
|
|
|
Apologies. That code was moved to the file sf-control.php and I missed the reference in the guide. See if that helps.
|
|
|
3:46 pm 3 Jan 2008
| webzu
Member
| | | |
|
| posts 5 |
|
|
No problem, thanks for the info. But I still can’t access the Admin Manage Options, even after copying and pasting the code on the guide with the code in sf-control.php file.
An odd thing is that I have SF installed on two wordpress blogs on two different servers and in one I can access the manage options admin area but not the other.
This server it works:
Server Type:
Apache/1.3.36 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2
mod_bwlimited/1.4 PHP/4.4.2 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.27
OpenSSL/0.9.7a
On this server it does not:
Server Type:
Apache/2.0.61 (Unix) PHP/4.4.7 mod_ssl/2.0.61 OpenSSL/0.9.7e mod_fastcgi/2.4.2 DAV/2 SVN/1.4.2
Could it be the servers?
|
|
|
|
|
Shouldn’t be server related as this is client side javascript. At least as I understand it. What other plugins do you have installed that are running javascript on the admin side?
|
|
|
7:40 pm 3 Jan 2008
| webzu
Member
| | | |
|
| posts 5 |
|
|
Yellow Swordfish said:
Shouldn’t be server related as this is client side javascript. At
least as I understand it. What other plugins do you have installed that
are running javascript on the admin side?
Oh boy, I have several but I don’t know which one is
running javascript on the admin side. I looked at the plugin
descriptions and none say they’re running javascript. Is there a way I
can find out?
This is my site: http://www.costaricatalkradio.com and here are the plugins I have activated:
About Me widget 0.98
Ad Rotator
Akismet
BookCover
del.icio.us widget
Digg This
Executable PHP widget
FAlbum
Flickr Photo Gallery
Google Analytics
Google Sitemaps
ImageShack Uploader
LMB^Box Comment Quicktags
Peter’s Custom Anti-Spam
podPress
Sidebar Widgets
Simple Forum
Sociable
Subscribe me
Teli Design OptiNiche
WordPress Reports
WP-ContactForm
WP-FLV
WP Flickr Post Bar
Youtube Brackets
Thanks,
Alan
|
|
|
7:59 pm 3 Jan 2008
| -Radio-
Moderator
| | Florida - USA | |
|
| posts 558 |
|
|
webzu said:
Yellow Swordfish said:
Shouldn’t be server related as this is client side javascript. At
least as I understand it. What other plugins do you have installed that
are running javascript on the admin side?
Oh boy, I have several but I don’t know which one is
running javascript on the admin side. I looked at the plugin
descriptions and none say they’re running javascript. Is there a way I
can find out?
This is my site: http://www.costaricatalkradio.com and here are the plugins I have activated:
About Me widget 0.98
Ad Rotator
Akismet
BookCover
del.icio.us widget
Digg This
Executable PHP widget
FAlbum
Flickr Photo Gallery
Google Analytics
Google Sitemaps
ImageShack Uploader
LMB^Box Comment Quicktags
Peter’s Custom Anti-Spam
podPress
Sidebar Widgets
Simple Forum
Sociable
Subscribe me
Teli Design OptiNiche
WordPress Reports
WP-ContactForm
WP-FLV
WP Flickr Post Bar
Youtube Brackets
Thanks,
Alan
The very first thing I see is SideBarWidgets Plugin that is not required for versions of WP above v2.1. Make sure you are running the latest version of wordpress (2.3.2 as of this writing)
I also see redundent plugins:
del.icio.us widget, Digg This, Sociable - (all included in Share This plugin)
Akismet,
Peter’s Custom Anti-Spam,
Simple Forum - (three forms of anti-spam on top of WP Anti-Spam Options)
Google Analytics, Google Sitemaps,
WordPress Reports - (Google Tools Plugins and/or WP-Stats Plugin updated versions exist)
I also see one plugin that is known to conflict, WP-Comments (Get the latest version, older versions known to conflict)
|
|
|
1:51 am 4 Jan 2008
| lifeischoice
Guest
| | | |
|
| |
|
|
I am having a similar issue…initially it worked ok and as I installed other plugins, the forum skin was broken and even when I deactivated all plugins with only simple forum activated, the options was no longer available….I also noticed that the db was deleted and not been created after the re-activation…please help…
ps..my site is at http://www.lifeischoice.com/life-mastery
|
|
|
|
|
OK. In 2.1 the simplest way to deal with this is to open the file sf-control.php for editing… find the function sf_admin_css() and remove the following code segment:
<script type="text/javascript">
var tabberOptions = {manualStartup:true};
document.write(’<style type="text/css">.tabber{display:none;}</style>’);
</script>
<script type="text/javascript" src="<?php echo(SFADMINURL);?>tabber.js"></script>
<script type="text/javascript">
addLoadEvent(tabberAutomaticOnLoad);
</script>
As to your database disappearing - I think you have to look elsewhere for the reason this may have happened. Certainly the forum plugin does nothing so destructive although it WILL remove itself if you check the uninstall option checkbox.
|
|
|
12:27 pm 4 Jan 2008
| -Radio-
Moderator
| | Florida - USA | |
|
| posts 558 |
|
|
lifeischoice said:
I am having a similar issue…initially it worked ok and as I installed other plugins, the forum skin was broken and even when I deactivated all plugins with only simple forum activated, the options was no longer available….I also noticed that the db was deleted and not been created after the re-activation…please help…
ps..my site is at http://www.lifeischoice.com/life-mastery
OK… I took a look at your site and there are quite a few issues, not just SF…
If Andy doesn’t mind I believe your install might need some intensive care and I’ll take this to e-mail rather than out in the open.
|
|
|
|
|
Go for it. I am grateful for the help.
|
|
|
9:18 pm 4 Jan 2008
| lifeischoice
Guest
| | | |
|
| |
|
|
-Radio- said:
lifeischoice said:
I am having a similar issue…initially it worked ok and as I installed other plugins, the forum skin was broken and even when I deactivated all plugins with only simple forum activated, the options was no longer available….I also noticed that the db was deleted and not been created after the re-activation…please help…
ps..my site is at http://www.lifeischoice.com/life-mastery
OK… I took a look at your site and there are quite a few issues, not just SF…
If Andy doesn’t mind I believe your install might need some intensive care and I’ll take this to e-mail rather than out in the open.
Thanks, Radio for the feedback… I am not quite sure what you mean by "take this to email"…please can you clarify? thanks again…
|
|
|
10:06 pm 4 Jan 2008
| -Radio-
Moderator
| | Florida - USA | |
|
| posts 558 |
|
|
I have sent an e-mail to the address you have listed here.
‘Take it to e-mail’ means I’d like to discuss this problem with you privately.
|
|
|
10:16 pm 4 Jan 2008
| lifeischoice
Guest
| | | |
|
| |
|
|
-Radio- said:
I have sent an e-mail to the address you have listed here.
‘Take it to e-mail’ means I’d like to discuss this problem with you privately.
Thanks..I just sent you an email…
|
|
|
10:53 pm 4 Jan 2008
| webzu
Member
| | | |
|
| posts 5 |
|
|
Thanks Andy, I removed that code segment from sf-control.php and I can now access the manage option admin section!
Radio, thanks for taking a look - I now realize I have a mess of plugins, I need to sort out. I’m like a plugin hoarder, I install them to check it out and even if I don’t use them, I let them live on in limbo cluttering my plugin folder.
|
|
|
7:00 pm 6 Jan 2008
| Robert Bruce
Guest
| | | |
|
| |
|
|
I removed the code and have a parse error: Parse error: syntax error, unexpected ‘<’ in /home2/iscatte/public_html/wp-content/plugins/simple-forum/sf-control.php on line 329
I cannot even go in through thebackdoor to my admin to deactivate the plugin.
Pleasse help
Robert
|
|
|
7:23 pm 6 Jan 2008
| Robert
Guest
| | | |
|
| |
|
|
OK I got back in and deactivated the plugin. Also verified that none of the redundant plugins mentioned above were active.
Still need to resolve the issue above, so will appreciate it if you can look at this and advise steps to take.
My blog is at http://iscatterlings.com
Many thanks
Robert
|
|
|
|
|
The only way you’ll get a parse error is if you left some of one of the lines in or took out more than was specified.
Believe me - if you remove those EXACT lines - no more, no less - then it does work.
<script type="text/javascript">
var tabberOptions = {manualStartup:true};
document.write(’<style type="text/css">.tabber{display:none;}</style>’);
</script>
<script type="text/javascript" src="<?php echo(SFADMINURL);?>tabber.js"></script>
<script type="text/javascript">
addLoadEvent(tabberAutomaticOnLoad);
</script>
|
|
|
9:22 pm 6 Jan 2008
| webzu
Member
| | | |
|
| posts 5 |
|
|
I’ll vouch for that because it worked for me.
A tip that helpe me is before I edit any code I’ll copy and paste the file into notepad so if I screw it up, I can just re-paste the original code and try again.
|
|