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)

Kihon Kata 01-26-2005 04:58 PM

**CLICKS install**

Thanks Logician for helping me install it, the best popup hack around

click here to see it in action!

If you register, you will see another that I have set up promoting 5 posts right away

carolmyt 01-28-2005 07:34 PM

Has anyone tried this in 3.0.6 yet?

Also, if I install this, I'm going to use the popup. As long as there is no text, will there be no popup, or will it popup as blank? I don't plan on having anouncements every day, and I don't want to see the box if there's nothing in it.

Thanks!

docvader 01-28-2005 07:40 PM

It works in 3.06. And if you keep the pop up box blank in your admincp, there will be no pop up/ Use the addition mentioned previously, to have it only pop up once in x hours, otherwise your members will go nuts seeing it every time they hit their forum index page.

carolmyt 01-28-2005 09:19 PM

There's no way for it to only popup once for each user visit?

Mechanical Mind 01-28-2005 10:13 PM

Quote:

Originally Posted by carolmyt
Has anyone tried this in 3.0.6 yet?

Also, if I install this, I'm going to use the popup. As long as there is no text, will there be no popup, or will it popup as blank? I don't plan on having anouncements every day, and I don't want to see the box if there's nothing in it.

Thanks!

There will be no pop-up if no text. There will be no announcement if no text.

T3MEDIA 01-28-2005 11:36 PM

Quote:

Originally Posted by Logician
Not sure what you mean but in php this conditional checks whether the variable is blank or now: $variable==''

Does it answer your question? If not, plz elborate.

ok I am still stuck with that field 20 thing. I want users to enter thier names... I can see if I put the field using your hack it will actually print whats in there. SO I know I can use it some way. Just dont know how to make it say if field 20 is empty show this dam hack! LOL. $variable="" how would that look in your hack? I been trying this for a while now. really tring to get this to work.

T3MEDIA 01-28-2005 11:39 PM

Quote:

Originally Posted by T3MEDIA
Will it work for Single-Line Text Boxes then???

bump PLEASE?

Logician 01-29-2005 07:31 AM

Quote:

Originally Posted by carolmyt
There's no way for it to only popup once for each user visit?

I've released the hack of hack for this in the thread please look for it.

Quote:

ok I am still stuck with that field 20 thing. I want users to enter thier names... I can see if I put the field using your hack it will actually print whats in there. SO I know I can use it some way. Just dont know how to make it say if field 20 is empty show this dam hack! LOL. $variable="" how would that look in your hack? I been trying this for a while now. really tring to get this to work.
[[($bbuserinfo[field20])]]
Your name is $bbuserinfo[field20]!
[[/($bbuserinfo[field20])]]
[[(!$bbuserinfo[field20])]]
You didn't enter a name in your user cp
[[/(!$bbuserinfo[field20])]]

carolmyt 01-29-2005 01:38 PM

Thanks!

T3MEDIA 01-29-2005 02:35 PM

Quote:

Originally Posted by Logician
I've released the hack of hack for this in the thread please look for it.


[[($bbuserinfo[field20])]]
Your name is $bbuserinfo[field20]!
[[/($bbuserinfo[field20])]]
[[(!$bbuserinfo[field20])]]
You didn't enter a name in your user cp
[[/(!$bbuserinfo[field20])]]

Doesnt work the second part. I can show the stuff that I knew...
I have a few... can you show me one that can work for one of these?
Multiple-Selection Checkbox
Single-Selection Menu
or Single-Line Text Box
this doenst work for any of them.


All times are GMT. The time now is 05:48 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.01252 seconds
  • Memory Usage 1,740KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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