vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Members who have visited the forum (Today or last 24 hours). (https://vborg.vbsupport.ru/showthread.php?t=82769)

groberthall 08-09-2005 04:13 PM

ok, I have to be doing something wrong here :)

I have altered the forumhome template and it shows the table and header okay ( but with no number after the colon )

I have installed the plugin and it all says it is installed correctly. plugin is active and plugins are turned on in Vb options.

But table is empty, no number after the colon on the title bar, and when I refresh the page it gives a parse error that disappears so quickly I cannot read it.

If I turn off plugins in options then the parse error does not appear.

Any ideas ?

<edit>
Parse error says
Parse error: parse error, unexpected T_STRING in /home/graham/public_html/index.php(63) : eval()'d code on line 2

groberthall 08-11-2005 05:43 AM

anyone ?

groberthall 08-13-2005 07:12 AM

OK, dont know what was going on there but I deleted everything, downloaded it again, uploaded it agin, and it all works fine. Many thanks for the hack.
*pops off to click install*

Magle 08-13-2005 01:17 PM

Works like a charm! :up:

evesve 08-14-2005 03:01 PM

Quote:

Originally Posted by Paul M
You added some template code as part of this hack, surround that code with an IF - like this ;

Code:

<if condition="$bbuserinfo[usergroupid] == 6">

(current hack template code)

</if>


Hi!
This is very useful.
I?m not an expert, so I must ask:
If I want more than one usergroupid, what is the code?

Snake 08-14-2005 03:31 PM

Just add the group ID right next to the number "6".

ie: 6,7,8,9

So the final code will look like:

<if condition="$bbuserinfo[usergroupid] == 6,7,8,9">

Although I am NOT sure so backup your file(s) before proceeding.

evesve 08-14-2005 04:58 PM

Quote:

Originally Posted by Snake
Just add the group ID right next to the number "6".

ie: 6,7,8,9

So the final code will look like:

<if condition="$bbuserinfo[usergroupid] == 6,7,8,9">

Although I am NOT sure so backup your file(s) before proceeding.

THX!
It was TO easy! :nervous:

Mr Chad 08-15-2005 04:45 AM

Perfect

Snake 08-15-2005 07:47 AM

No problem. :)

BuRNZau 08-17-2005 11:59 AM

Love it cheers!


All times are GMT. The time now is 04:00 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01814 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete