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)

Logician 05-15-2004 06:26 PM

Quote:

Originally Posted by mtha
Logician, how many query it'd add to the process?

I'd love to play with this, but I dont wanna slow down my board :D

none! ;)

Mobo 05-15-2004 10:08 PM

This hack really rocks!! It's the best way to keep my staff up to speed that I have found so far. Thanks!!

brandy 05-16-2004 02:09 AM

Cool hack, I've downloaded it, but haven't installed it yet. When I do I'll click Install.

I was wondering if anyone new how to do the following with it:

I would like a pop up window that displays the 3 paid subscriptions that I offer (bascially the "Available Subscriptions" box.) I would like a person to be able to click to pay for a subscription in the pop up, and then have the pop up close and open the available payment page in the MAIN forum window (where the pop up originated).

Anyone?

Kwak 05-16-2004 03:25 AM

I should install this hack next weekend.

poolking 05-16-2004 07:22 AM

Great looking hack, I'll install it later. :D

brandy 05-16-2004 11:32 PM

This is a great hack!

How do the conditionals work regarding PRIMARY usergroups and SECONDARY usergroups?

For instance, I have a primary registered usergroup ID: 2
and a secondary contributing member usergroup ID: 10

I want usergroup "2" to get an announcement that asks them to donate.

When they donate, they are still in usergoup "2" but now also have a secondary usergroup "10" for contributing member.

I want usergroup "10" to have an announcement that thanks them, without having the announcement that asks them to donate.

Is there a way to do this?

Thanks,
Brandy

zetetic 05-18-2004 03:44 AM

Great hack!

One thing... it took me an obscenely long time to figure this out, but there's a semicolon missing from the pop-up template that causes some ugly formatting:

"padding: 10px; overflow:"

Thanks!

Aurous 05-18-2004 04:40 PM

Something doesnt look right. I need help:

I am trying to install this in one of my testboards before applying it to my main bb. The testvb folder is password protected by htaccess.

After following first step:
Replacing

if ($debug)

with:

// Logician Hack: Always debug on while adding a setting
$debug=1;
// Logician Hack: Always debug on while adding a setting
if ($debug)

YES, I know there are 2 instances of "if ($debug)", which I replaced with the above text and saved the changes in my server.

After that, when I go to:

http://YOUR_SITE_URL/FORUM_URL/admincp/options.php?do=addgroup

I see a blank white page!! I dont want to mess around with my live site and would like to make changes in my test forum first. I dont understand whats wrong here. Any help??

Logician 05-18-2004 05:08 PM

Quote:

Originally Posted by Aurous
After that, when I go to:

http://YOUR_SITE_URL/FORUM_URL/admincp/options.php?do=addgroup

I see a blank white page!!

Obviously you edit the url in http://YOUR_SITE_URL/FORUM_URL/admin...hp?do=addgroup right?

Aurous 05-18-2004 05:36 PM

obviously, you think the users here are retarded!

And to ur question, ofcourse NOT! I used proper URL. Infact the strange thing is that, when I removed $debug=1; in both instances and saved it. I clicked on vBulletin Options in the admincp and I saw blank page as well!! Then I just copied the options.php from the live site to the testvb/admincp folder and it worked fine, when both the files had the same content! This is something very new to me. I even tried logging again and didnt see any difference.


All times are GMT. The time now is 11:08 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.01257 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
  • (2)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