vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - [AJAX]Did you know ...? (Tip Management) (https://vborg.vbsupport.ru/showthread.php?t=146765)

Surviver 05-12-2007 07:32 PM

Quote:

Originally Posted by TWTCommish (Post 1246349)
Hm, I've installed this (just downloaded 10 minutes ago, so I should be using the newest release), but the tips won't display. The admin side of thing seems to work fine, but $GLOBALS[tip] doesn't produce anything. Am I overlooking something obvious?

Did you set the Usergroup Permissions?

TWTCommish 05-12-2007 07:49 PM

Hmm, no, I hadn't. I didn't see any mention of it when installing, or when reading the readme, so I didn't realize usergroup permissions were involved.

That certainly fixes the problem, though. Thanks very much! Great hack. I plan to use it for scrolling site updates and news and such, rather than tips. Seems like it could be used for almost anything. :)

TWTCommish 05-12-2007 08:03 PM

Odd: the tips are showing up, but they appear even if I don't add $GLOBALS[tip] to my navbar. What's more, they show up in the middle of the navbar template. Is the hack somehow inserting the variable itself, without the template edit?

Surviver 05-13-2007 03:44 AM

Quote:

Originally Posted by TWTCommish (Post 1246424)
Odd: the tips are showing up, but they appear even if I don't add $GLOBALS[tip] to my navbar. What's more, they show up in the middle of the navbar template. Is the hack somehow inserting the variable itself, without the template edit?


Yes, the Templateedits are Done automaticaly. Go to the Hackoptions and Disable the Setting "Enable "Automatic Templateedits"".

Greetings Surviver

Twinkie 05-13-2007 04:15 AM

Thanks! This is a wonderful code mod. =)

I'm using it for the Hope for Another Day Foundation forum. We're using it differently, not tips, but we are using the Did you know...? header to our advantage with excerts like:

Every minute that ticks by...another life is lost in Darfur, due to a genocide, a genocide that major countries have been ignorant of, and organizations refuse to help.

Every 41 minutes, a wish for a terminally ill child is granted by the Make-A-Wish Foundation. A total of 149,179 wishes have been granted. Truly yours, Nicholas Burrus, Head Chairholder is one of them.

Thanks again!

TWTCommish 05-13-2007 06:44 PM

Quote:

Originally Posted by Surviver (Post 1246616)
Yes, the Templateedits are Done automaticaly. Go to the Hackoptions and Disable the Setting "Enable "Automatic Templateedits"".

Greetings Surviver

That did it. Thanks very much for the support. :) Fantastic hack, with a wide variety of uses.

Quantnet 05-14-2007 11:44 PM

Installed. Use manual template edit. Setup usergroup but nothing shows up.

Where do I add more tips ?

Surviver 05-15-2007 03:26 AM

In the ACP Menu you will finde an new entrie, Tips. Click on Manage Tips -> New Tip ;)

Greetings Surviver

Quantnet 05-15-2007 05:05 AM

Quote:

Originally Posted by Surviver (Post 1247820)
In the ACP Menu you will finde an new entrie, Tips. Click on Manage Tips -> New Tip ;)

Greetings Surviver

Ahh...thanks

How do I change the background color of the tip box or some other color css. I think you should make it configurable in ACP for the font size, type, color, etc

Surviver 05-15-2007 03:19 PM

Quote:

Originally Posted by Quantnet.org (Post 1247850)
Ahh...thanks

How do I change the background color of the tip box or some other color css. I think you should make it configurable in ACP for the font size, type, color, etc


I'LL not add norma?l Options - if i would do so, you could not set the Color for each Style. Please edit the Template tip.

Greetings Surviver


All times are GMT. The time now is 03:30 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.01203 seconds
  • Memory Usage 1,738KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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