vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Advanced Templates: Dynamic Templates Changing according to different conditions (https://vborg.vbsupport.ru/showthread.php?t=43325)

Marulatree 12-18-2003 02:23 PM

nope - that didn't work.

It puts this prints back to code all over the top of my page:

[[(((6==6 OR 6==7 OR 6==9) AND (23==28 OR ==28 OR 23==23 OR ==23)))]] Please ingnore [[/((6==3 AND (23==8 OR ==8)))]] [[(!(6==3 AND (23==8 OR ==8)))]] Please ingnore [[/(!((6==6 OR 6==7 OR 6==9) AND (23==28 OR ==28 OR 23==23 OR ==23)))]]

Logician 12-18-2003 06:17 PM

previous post edited, try again

Marulatree 12-19-2003 02:38 PM

Puuurrrrfect! - That woulded like a charm! Thanks for all your help!

daFish 12-19-2003 03:47 PM

Hiho,

first of all: wonderfull and great hack, Logician. :)

But now my question:

Whats the variable where the Style ID is stored when a member is logged in?

-Fish

Logician 12-19-2003 07:14 PM

Quote:

Originally Posted by daFish
Whats the variable where the Style ID is stored when a member is logged in?

what style id are you referring to? if it is user's style choice, try $bbuserinfo[styleid]

Frozen Dreams 12-20-2003 06:51 AM

Can I just say that this hack rocks?!
Since seriously it does. I cant believe I never saw this any earlier. Would have saved me so much brainwrecking it aint funny. Two thumbs up - this is really awesome work.

ETA:

Either I am too tired or just too blonde :p
Could someone help me with the following conditional:

1.) Certain Number of PMs in all Folders and Certain Usergroup (I have PM Quota per Usergroup hack installed). Notice to go onto Index and into the private messaging templates.

2.) Birthday note on index. I fiddled around but I just couldnt get it right :(

I dont want to use the Dynamic Announcement for either of both since I am using that for something else - and well I just have the announcement variable as a global one and in too many templates.

Mighty thanks in advance. Help is very appriciated. :)

Kerrek Cage 12-30-2003 06:49 PM

How would I go about creating a forum that is only open at certain times during the day, any other time it's hidden and closed to posts? Is that possible with this hack?

Logician 12-30-2003 07:44 PM

Not really. But IIRC I gave this hack in hack requests forum to make the forum "something" (closed?) in certain times during day.

gmarik 01-01-2004 06:13 PM

Logician

Are you remaking any of your hacks under vb3 or are you waiting for RC1? Interesting question ...

Logician 01-02-2004 08:55 AM

Quote:

Originally Posted by gmarik
Are you remaking any of your hacks under vb3 or are you waiting for RC1? Interesting question ...

Some of my hacks (like this one) become default feature in vb3 so there is no need to import them.

I will import the rest but I can not give an ETA for any of them because:
a) I have too many hacks some of which are major projects so recoding them takes time.
b) I'm busy nowadays with professional projects so I can't spend time on this converting hacks.
c) I don't plan to migrate to VB3 until its final release comes up+a few more weeks to ensure stability. So RC1 does not mean anything to me regarding my board's imigration.

Bottom line is I will recode all my hacks for VB3 but it is really not possible for me to give a date for any of them. For small projects you can expect "soon", for large ones sometime after final VB3 version comes up.


All times are GMT. The time now is 07:12 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.01497 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
  • (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