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)
-   -   vB Blinking Evelope on PM (https://vborg.vbsupport.ru/showthread.php?t=96221)

adamgessel 09-13-2005 10:00 PM

vB Blinking Evelope on PM
 
This hack should work for every Release Candidate version.

=============
DEMO BOARD
=============
Demo board is located at: http://www.forumfreedom.net/
Feel free to visit.

=============
DESCRIPTION
=============
This hack is very simple: it adds a blinking envelope to your forum if you have a new private message, making it easier to know if you have a new private message. This actually came from a request from the 3.5 modification request forum.

=============
INSTALLATION
=============
Difficulty: Easy
Time: Less than a minute

PLEASE CLICK INSTALL!!!

UPDATE: NO LONGER REQUIRES FILE EDIT.

nexialys 09-14-2005 01:11 AM

sugg: just make the envelop modif in the template, no need to edit the global.php...
Code:

<if condition="$show['pmstats']"><br /><if condition="$bbuserinfo['pmunread']!= 0"><IMG SRC=benvelope.gif></if>
doing so, your edit can be moved to Templates Modifications!

EDIT: changed the $vbulletin-> to bbuserinfo, as it's not parsed correctly in templates... YET!

adamgessel 09-14-2005 01:16 AM

Tried doing that but...

The following error occurred when attempting to evaluate this template:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/adamgess/public_html/forum/includes/adminfunctions_template.php(3510) : eval()'d code on line 42

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.

That's why I had to do the template edit... maybe I'll try again later.

adamgessel 09-14-2005 01:19 AM

There... now it doesn't require a file edit.

Tried to do it before but it wasn't working for me.

nexialys 09-14-2005 01:20 AM

i just edited my post... the $vbulletin-> thing is not parsed in templates, i always forget that... now it's working!

Boofo 09-14-2005 02:58 AM

Any pics?

dieselpowered 09-14-2005 05:11 AM

I am confused, 1st post claims that no file edits are required, yet the instructions show to modify global.php as well as edit the navbar template??

Am I missing something, should there be an xml file in the folder?

Boofo 09-14-2005 06:15 AM

You can do the global part as a navbar temple edit.

I'm still using Chen's old vb2 one that uses js and it works fine. ;)

GrendelKhan{TSU 09-14-2005 07:53 AM

er... now I'm confused. do we need to edits or not?

Andreas 09-14-2005 07:28 PM

According to the ZIP - yes.

@adamgesel
Could you please update the ZIP to make this a Template Modification so it can be moved to the correct Forum?
Thanks.


All times are GMT. The time now is 02: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.01294 seconds
  • Memory Usage 1,725KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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