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)

Paul M 09-05-2005 06:48 PM

Quote:

Originally Posted by evesve
Maybe,
from my old asp-world :nervous: :
Code:

if usergroupid= 6 then
list_order= 1
elseif usergroupid=7 then
list_order=2
end if
=======
......order by list_order , username

or one more field in vb3_usergroups ("list_order")where I can put my usergroups in MY order and use that table in sql :nervous:

php is not the best part of me but I will learn!

What would you do without our crazy suggestions? :alien:

Hmm, all looks very complicated and I don't know if it would work (I'm not sure I even follow it). I can say with certainty that it's not going to get added, as only one person has asked about it. :)

evesve 09-05-2005 07:14 PM

Quote:

Originally Posted by Paul M
Hmm, all looks very complicated and I don't know if it would work (I'm not sure I even follow it). I can say with certainty that it's not going to get added, as only one person has asked about it. :)

they will come!! :cool:

Thanks anyway!! :up:

Zelda-King 09-05-2005 07:21 PM

Running fine on 3.5 RC2. :)

Thanks for sharing!

Mikecp421 09-05-2005 07:28 PM

i am new to vb but a long time code editor of my phpbb forum, which I just upgraded. Step 2 & 3 confuse me. How do I do the sql querie? Is it just like phpbb? And what do I do with the xml file?? Thanks alot!

Mikecp421 09-05-2005 08:17 PM

forget it, I installed this one for 3.0.8 which didn't have the index.php mod. I got it working thanks to Paul M's signature!

Paul M 09-05-2005 09:13 PM

First time I've ever known a signature install something, but hey .. :up: :)

Daniel 09-05-2005 10:02 PM

I get invalid file specified...

Paul M 09-05-2005 10:17 PM

Upload it as a plugin, not a product. :)

Daniel 09-05-2005 10:20 PM

Ok, I'll try it. Thanks.

evesve 09-11-2005 01:07 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.

Now I have used that code, but it wont work.

I have tryed other like ';' etc but nothing helps.

Other tip?

<if condition="$bbuserinfo[usergroupid] == 6"> is no problem!


All times are GMT. The time now is 03:05 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.01662 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
  • (3)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