Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
vB Blinking Evelope on PM Details »»
vB Blinking Evelope on PM
Version: 1.00, by adamgessel adamgessel is offline
Developer Last Online: Aug 2007 Show Printable Version Email this Page

Version: 3.5.0 RC3 Rating:
Released: 09-13-2005 Last Update: 09-13-2005 Installs: 83
Template Edits
Additional Files  
No support by the author.

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.

Supporters / CoAuthors

    Show Your Support

    • This modification may not be copied, reproduced or published elsewhere without author's permission.

    Comments
      #2  
    Old 09-14-2005, 01:11 AM
    nexialys
    Guest
     
    Posts: n/a
    Default

    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!
    Reply With Quote
      #3  
    Old 09-14-2005, 01:16 AM
    adamgessel adamgessel is offline
     
    Join Date: Oct 2004
    Posts: 101
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    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.
    Reply With Quote
      #4  
    Old 09-14-2005, 01:19 AM
    adamgessel adamgessel is offline
     
    Join Date: Oct 2004
    Posts: 101
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

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

    Tried to do it before but it wasn't working for me.
    Reply With Quote
      #5  
    Old 09-14-2005, 01:20 AM
    nexialys
    Guest
     
    Posts: n/a
    Default

    i just edited my post... the $vbulletin-> thing is not parsed in templates, i always forget that... now it's working!
    Reply With Quote
      #6  
    Old 09-14-2005, 02:58 AM
    Boofo's Avatar
    Boofo Boofo is offline
     
    Join Date: Mar 2002
    Location: Des Moines, IA (USA)
    Posts: 15,776
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Any pics?
    Reply With Quote
      #7  
    Old 09-14-2005, 05:11 AM
    dieselpowered's Avatar
    dieselpowered dieselpowered is offline
     
    Join Date: Aug 2004
    Location: Arizona
    Posts: 661
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    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?
    Reply With Quote
      #8  
    Old 09-14-2005, 06:15 AM
    Boofo's Avatar
    Boofo Boofo is offline
     
    Join Date: Mar 2002
    Location: Des Moines, IA (USA)
    Posts: 15,776
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    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.
    Reply With Quote
      #9  
    Old 09-14-2005, 07:53 AM
    GrendelKhan{TSU's Avatar
    GrendelKhan{TSU GrendelKhan{TSU is offline
     
    Join Date: Jun 2005
    Location: Boston | Seoul, S. Korea
    Posts: 1,311
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    er... now I'm confused. do we need to edits or not?
    Reply With Quote
      #10  
    Old 09-14-2005, 07:28 PM
    Andreas's Avatar
    Andreas Andreas is offline
     
    Join Date: Jan 2004
    Location: Germany
    Posts: 6,863
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    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.
    Reply With Quote
    Reply

    Thread Tools

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT. The time now is 05:40 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.05618 seconds
    • Memory Usage 2,276KB
    • Queries Executed 24 (?)
    More Information
    Template Usage:
    • (1)SHOWTHREAD
    • (1)ad_footer_end
    • (1)ad_footer_start
    • (1)ad_header_end
    • (1)ad_header_logo
    • (1)ad_navbar_below
    • (1)ad_showthread_beforeqr
    • (1)bbcode_code
    • (1)footer
    • (1)forumjump
    • (1)forumrules
    • (1)gobutton
    • (1)header
    • (1)headinclude
    • (1)modsystem_post
    • (1)navbar
    • (6)navbar_link
    • (120)option
    • (1)pagenav
    • (1)pagenav_curpage
    • (2)pagenav_pagelink
    • (10)post_thanks_box
    • (10)post_thanks_button
    • (1)post_thanks_javascript
    • (1)post_thanks_navbar_search
    • (10)post_thanks_postbit_info
    • (9)postbit
    • (8)postbit_onlinestatus
    • (10)postbit_wrapper
    • (1)spacer_close
    • (1)spacer_open
    • (1)tagbit_wrapper 

    Phrase Groups Available:
    • global
    • inlinemod
    • postbit
    • posting
    • reputationlevel
    • showthread
    Included Files:
    • ./showthread.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/functions_bigthree.php
    • ./includes/class_postbit.php
    • ./includes/class_bbcode.php
    • ./includes/functions_reputation.php
    • ./includes/functions_post_thanks.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
    • showthread_start
    • showthread_getinfo
    • forumjump
    • showthread_post_start
    • showthread_query_postids
    • showthread_query
    • bbcode_fetch_tags
    • bbcode_create
    • showthread_postbit_create
    • postbit_factory
    • postbit_display_start
    • post_thanks_function_post_thanks_off_start
    • post_thanks_function_post_thanks_off_end
    • post_thanks_function_fetch_thanks_start
    • post_thanks_function_fetch_thanks_end
    • post_thanks_function_thanked_already_start
    • post_thanks_function_thanked_already_end
    • fetch_musername
    • postbit_imicons
    • bbcode_parse_start
    • bbcode_parse_complete_precache
    • bbcode_parse_complete
    • postbit_display_complete
    • post_thanks_function_can_thank_this_post_start
    • pagenav_page
    • pagenav_complete
    • tag_fetchbit_complete
    • forumrules
    • navbits
    • navbits_complete
    • showthread_complete