vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Dynamic Announcements: Programmable Forum Home Announcement/Message with conditionals (https://vborg.vbsupport.ru/showthread.php?t=97073)

Logician 10-04-2005 08:34 PM

I can't give you a solution since I don't use cmps but apparently this is normal. Because the hack produces its results only when "index.php" (forum home script) runs. Since you don't run it but instead your cmps script, it is normal that the annoucement is not produced.

Crazy Serb 10-04-2005 09:37 PM

Quote:

Originally Posted by Logician
I can't give you a solution since I don't use cmps but apparently this is normal. Because the hack produces its results only when "index.php" (forum home script) runs. Since you don't run it but instead your cmps script, it is normal that the annoucement is not produced.

hmm... what does it depend on, though?

all conditionals that were supposed to appear in forumhome template are in the adv_portal template (since that is the "new" forumhome, sort of... it uses most of the code from other templates except that it strips out everything in the <head>...</head> part)

I have renamed my cmps_index.php into the index.php (so that is my homepage), and the forum page (previously index.php) has been renamed to forum.php.

Now, is there anything that appears in forum.php that this hack checks for, and then displays the announcement?

csidlernet 10-05-2005 02:32 AM

/me installs
Very.. very uhh dynamic

Ugur CETIN 10-06-2005 12:47 PM

Installed guys, thank you very much....

JJR512 10-06-2005 12:53 PM

Logician, you missed one tag causing XHTML non-compliance: In the dfh_announcement template, there is one "<br>" tag, should of course be "<br />". :)

swantonio 10-06-2005 01:11 PM

as I can modify the dimension of the red window

https://vborg.vbsupport.ru/

Logician 10-06-2005 02:13 PM

Quote:

Originally Posted by JJR512
Logician, you missed one tag causing XHTML non-compliance: In the dfh_announcement template, there is one "<br>" tag, should of course be "<br />". :)

as you wish.. fixed :)

Logician 10-06-2005 02:15 PM

Quote:

Originally Posted by swantonio
as I can modify the dimension of the red window

http://img112.imageshack.us/img112/7...ine16oz.th.png

The dimension of the red window is set according to your style settings. If you want to overwrite it and use manual settings, edit template dfh_announcement_popup (in ALL TEMPLATES SETS you have) and play with this line:

<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">

(Use fixed numbers for $stylevar[cellpadding] and $stylevar[cellspacing])

one9er 10-06-2005 02:43 PM

Thanks Logician!

Ugur CETIN 10-08-2005 08:37 PM

Hi logican, i installed this hack, very thnx for this but after install, i'd imported a new skin. Reinstalled product but it doesnt works. everything seems ok...

What do u think about problem..?


All times are GMT. The time now is 06:57 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.01295 seconds
  • Memory Usage 1,734KB
  • 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
  • (3)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