Welcome to Geeklog, Anonymous Tuesday, April 16 2024 @ 01:33 pm EDT

Geeklog Forums

SpamX cannot be seen in ADMIN


Status: offline

b.raven

Forum User
Newbie
Registered: 01/14/05
Posts: 14
Location:Los Angeles
I have Geeklog 1.3.11 with SpamX installed.

I'm using XtremeRed Layout.

When I am in ADMIN the text of SpamX reads BLack against a Black background so that I can't see it.

I've tried editing XtremeRed/admin/plugins/ ...every file in here to either make text yellow or a table holding data bgcolor yellow, no good.
I've tried editing spamx/templates/ whatever I can find
I've tried editing spamx/admin/whatever I can find
but I cannot find where I can effect a change there.
Anyone have this experience or have a suggestion? Thanks!
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Just a guess: Since the Spam-X plugin doesn't wrap its admin page in a block, it's possible that the theme's background color "leaks" into the admin area. The same would then happen if you disable the "wrap page in a block" option in a static page.

If you can't fix it in the theme, try adding calls to COM_startBlock and COM_endBlock in admin/plugins/spamx/index.php, after the call to COM_siteHeader and before the call to COM_siteFooter, respectively.

bye, Dirk
 Quote

Status: offline

b.raven

Forum User
Newbie
Registered: 01/14/05
Posts: 14
Location:Los Angeles
Hey Dirk,
Thanks for the reply.
Can you give me an example of what that "call" would look like?
thanks!
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Text Formatted Code
/**        
* Main          
*/              
           
$display = COM_siteHeader ('menu', $LANG_SX00['plugin_name']);

$display .= COM_startBlock ('Spam-X'); // <-- added

$T = new Template ($_CONF['path'] . 'plugins/spamx/templates');

(...)

$display .= COM_endBlock (); // <-- added

$display .= COM_siteFooter (true);

echo $display;
 

Add the two lines marked "added" and see if that helps.

bye, Dirk
 Quote

Status: offline

b.raven

Forum User
Newbie
Registered: 01/14/05
Posts: 14
Location:Los Angeles
WOW!!!!!!!!!!!

that solved it beautifully! Thank you for doing in one minute what I could not in hours! Much appreciated, Dirk.
 Quote

All times are EDT. The time is now 01:33 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content