Icy Phoenix

     
 


Post new topic  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Viewonline.php and forum.php show two shoutbox's 
 
From a momento to another i've got this error

Shoutbox is showing twice...

I've replacesd forum.php, index_boduy.tpl with original files and the error cointinues...

Test yourself

User: test
pass: 159753

www.eddb.com.ar/foro/forum.php

I'm using  058b

Greets
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Viewonline.php and forum.php show two shoutbox's 
 
It is strange... are you sure it isn't a template issue?

It could be also related to shoutbox files or page_header.

Try to check.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Viewonline.php and forum.php show two shoutbox's 
 
index_body.tpl it's ok... there is only one call to shoutbox.
I've replaced shoutbox files and the problem it's still there

When i arrive home i'll check to replace page_header.php...

 
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Viewonline.php and forum.php show two shoutbox's 
 
solved

there was a problem with the "switch_show_shoutbox"

There was @ page_header.php & forum.php twice

My mistake
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Viewonline.php and forum.php show two shoutbox's 
 
Another question...

is it this code ok?

Code: [Download] [Hide]
  1. if (  (($auth_level_req == AUTH_REG) && (!$userdata['session_logged_in'])) || ($userdata['user_posts'] < 1000) && ( $userdata['user_level'] != ADMIN && $userdata['user_level'] != MOD ) && ( $userdata['user_color_group'] != 23 ) && ( $userdata['user_color_group'] != 24 ) )  
  2.     {  
  3.         message_die(GENERAL_MESSAGE, $lang['Not_Auth_View']);  
  4.     } 


This code it's on shoutbox.php files, and allow admin, mods, users with more than 1k messages, and users with some specific colour

I want to make a template switch for this code... but i can't make it

I've got this, but it doesn't work the "user_color_group" condition

Code: [Download] [Hide]
  1. if (($userdata['user_posts'] > 1000) || (($userdata['user_level'] == ADMIN || $userdata['user_level'] == MOD) && !(($userdata['user_color_group'] == 23) || ($userdata['user_color_group'] == 24))))  
  2. {  
  3.     $template->assign_block_vars('switch_show_shoutbox', array() );  


Thanks
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Post new topic  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron