vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Dynamic Announcements: Programmable Forum Home Announcement/Message with conditionals (https://vborg.vbsupport.ru/showthread.php?t=64189)

digitalSite 09-26-2005 05:20 AM

HI:

Everything was working fine...until i moved a usergroup over to another usergroup and deleted the original usergroup. I updated the Dynamic thingy to replect the new usergroup's id. However, it doesn't seem to work anymore, like it I never installed the hack! I still see the templates there, and I still see the modofied files...does anyone have any idea what happened?

I am using:

[[($bbuserinfo[userid]==2)]]This is a test.[[/($bbuserinfo[userid]==2)]]

Thanks...

UPDATE: HA! Nevermind...it's 2:22AM and I copied /pasted from Logician's tutorial to "make sure i have the correct conditional" but I FORGOT to add the word "group" so that the correct code is:

[[($bbuserinfo[usergroupid]==2)]]This is a test.[[/($bbuserinfo[usergroupid]==2)]]

To reflect the USERGROUP and not just the USER!!! :D

Goodnight all!
Thanks for this cool hack!

Takamine334 09-27-2005 03:55 AM

I can't close the pop up menu...something I did wrong?

David_R 09-28-2005 10:43 AM

Quote:

Originally Posted by David_R
did you got a working solution to fix the problem, when dynamic annoucements are added to global.php ?
Rebuilding post_cache fixed the problem temprarily only. :(

can someone help me fix my problem please

Logician 09-28-2005 05:13 PM

The hack for vb version 3.5 released here:
https://vborg.vbsupport.ru/showthread.php?t=97073

Takamine334 09-30-2005 11:43 PM

anyone know why in Firefox the popup is huge and why when I click close, the box doesn't go away?

TundraSoul 10-05-2005 04:36 AM

Is there was way to display information from the userfield table? eg. $userfield[field18]==

Logician 10-05-2005 06:09 AM

Quote:

Originally Posted by TundraSoul
Is there was way to display information from the userfield table? eg. $userfield[field18]==

$bbuserfield[field18] should work if it is an inputbox

TundraSoul 10-05-2005 06:25 AM

I'm trying to get this to work. It basically opens the message if their field is empty.

[[($bbuserinfo[usergroupid]==6 AND $bbuserfield[field18]==)]]Hello $bbuserinfo[username], please take a moment to update your user profile with your current information. Click the user CP link above, and then click Edit Profile. [[/($bbuserinfo[usergroupid]==6 AND $bbuserfield[field18]==)]]

Logician 10-05-2005 06:28 AM

Quote:

Originally Posted by TundraSoul
I'm trying to get this to work. It basically opens the message if their field is empty.

[[($bbuserinfo[usergroupid]==6 AND $bbuserfield[field18]==)]]Hello $bbuserinfo[username], please take a moment to update your user profile with your current information. Click the user CP link above, and then click Edit Profile. [[/($bbuserinfo[usergroupid]==6 AND $bbuserfield[field18]==)]]

[[($bbuserinfo[usergroupid]==6 AND !$bbuserfield[field18])]]Hello $bbuserinfo[username], please take a moment to update your user profile with your current information. Click the user CP link above, and then click Edit Profile. [[/($bbuserinfo[usergroupid]==6 AND !$bbuserfield[field18])]]

Boofo 10-05-2005 06:50 AM

Wouldn't this also work, Sinan?

Quote:

AND $bbuserfield[field18]== ''


All times are GMT. The time now is 04:22 PM.

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.01396 seconds
  • Memory Usage 1,739KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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