vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Tips of the Day (https://vborg.vbsupport.ru/showthread.php?t=245012)

InTeNsE-HuMoR 06-22-2010 09:43 PM

I'm getting the following error:

Quote:

Parse error: syntax error, unexpected T_STRING in /home/****/public_html/****/includes/class_core.php(4044) : eval()'d code on line 2
Running on VBulletin 4.0.4

Pod 06-22-2010 10:06 PM

Quote:

Originally Posted by InTeNsE-HuMoR (Post 2057707)
I'm getting the following error:



Running on VBulletin 4.0.4

Are you running a style with a customized navbar template? Would you allow me to take a look into that template?

InTeNsE-HuMoR 06-22-2010 10:23 PM

Yes. Do you want me to PM you with the navbar template code?

Pod 06-22-2010 10:35 PM

Quote:

Originally Posted by InTeNsE-HuMoR (Post 2057717)
Yes. Do you want me to PM you with the navbar template code?

Sure.

InTeNsE-HuMoR 06-22-2010 11:14 PM

PM sent.

Update: This mod now works for me. Thanks Pod.

funmasti 06-23-2010 08:23 AM

its quite impressive

mobe00 06-23-2010 01:02 PM

Quote:

Originally Posted by Pod (Post 2057418)
First of all, have you tried to use persistent tips? If not, sometimes browsing the admin panel sets the session cookie to not display more tips, so when you go back to the front end you don't see a tip.

You can set persistent tips in the vb options (in the same place you activate the mod after adding some tips).

If that doesn't help, would you allow me to take a look into your navbar template, so I can see if it's feasible to support your style?

Hi ..thanks..but didnt help..i send you a pm with my navbar template :) so you can take a look

Pod 06-25-2010 10:05 PM

I've just released version v0.2, with the following new features:

- Changed the way used to inject the tips into the page (thanks ragtek for the idea). Hopefully, will work better with modified styles; now it should pretty much work for any style if regular vB notices are working.

- Import / export utility. With that, you can import a file with 25 general vB usage Tips I've created (20 tips for general users, 5 tips for moderators. If you find any mistake in the file, please tell me (English is my third language... thanks disjunto and Bradmax for the help with it).

- Setting to add an icon next to the tips. (The icon used in the screenshots comes from http://www.iconfinder.com/icondetail...es_system_icon ).

- Fixed missing phrase in tips manager, when there are no tips to show.

- Setting to disable for non-confirmed users (awaiting email confirmation or in moderation) and banned users

Veer 06-25-2010 11:29 PM

Good work.

Is there any way to change the background and shadow colors? It would be nice to make a deference between Notices and Tips.

Pod 06-26-2010 05:30 AM

Quote:

Originally Posted by Veer (Post 2059631)
Good work.

Is there any way to change the background and shadow colors? It would be nice to make a deference between Notices and Tips.

Will consider that as a built-in option for the next version. Thanks for the idea.

If you want to do it manually in the while, in version 0.2 you can simply add something like this in the aditional.css template

HTML Code:

#navbar_notice_pod_tip_notice
{
        background: red;
    -moz-box-shadow: -2px 2px 2px red;
    -webkit-box-shadow: -2px 2px 2px red;
}

This code would give you red Tips (which probably are very ugly :p customize it to your liking).


All times are GMT. The time now is 12:59 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.01365 seconds
  • Memory Usage 1,739KB
  • 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
  • (1)bbcode_html_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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