Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[release] Hackless/imageless PM bar on forumhome Details »»
[release] Hackless/imageless PM bar on forumhome
Version: 1.00, by filburt1 filburt1 is offline
Developer Last Online: May 2007 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 11-02-2002 Last Update: Never Installs: 1
 
No support by the author.

Author: filburt1
Description: Displays the classic "private message bar" on forumhome. Credit for a bit of the code (mostly the query and the round() code) goes to princeton and his enhanced PM bar hack at https://vborg.vbsupport.ru/showthrea...threadid=34761 .
Demo: None unless you register, naturally
Screenshot: http://www.vbulletintemplates.com/mo...=&postid=14563

This adds one query to forumhome only when a registered user is logged in and has private messaging enabled.

Show Your Support

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

Comments
  #12  
Old 11-05-2002, 01:17 PM
Fiyah Fiyah is offline
 
Join Date: Nov 2001
Location: Texas
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Fiyah
I'm real new at doing any modifications, so you may need to spoon feed me. I think I did it like your instructions said and the bar will not show up.
If the number of saved pm's were over the limit, would that effect the box not showing up?

I was checking it w/ my log in and all admins can go over the max that is set.
Reply With Quote
  #13  
Old 11-05-2002, 01:35 PM
Fiyah Fiyah is offline
 
Join Date: Nov 2001
Location: Texas
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope, that didn't work either.

I pasted the info in my phpincluded template exactly like it is above in the txt file.
Reply With Quote
  #14  
Old 11-05-2002, 02:53 PM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Fiyah


If the number of saved pm's were over the limit, would that effect the box not showing up?

I was checking it w/ my log in and all admins can go over the max that is set.
You can use if ($bbuserinfo[usergroupid] != 6) to have it work for only non-admins.
Reply With Quote
  #15  
Old 11-05-2002, 02:54 PM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Fiyah
Nope, that didn't work either.

I pasted the info in my phpincluded template exactly like it is above in the txt file.
Just follow the instructions, they're pretty specific.

Did you enter stuff in phpinclude and forumhome_pmloggedin?
Reply With Quote
  #16  
Old 11-05-2002, 02:59 PM
Fiyah Fiyah is offline
 
Join Date: Nov 2001
Location: Texas
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes and I just got this from one of my posters wondering what it meant.

Parse error: parse error in /home/.sites/28/site1/web/vbulletin/global.php(302) : eval()'d code on line 13

Warning: Cannot add header information - headers already sent by (output started at /home/.sites/28/site1/web/vbulletin/global.php(302) : eval()'d code:13) in /home/.sites/28/site1/web/vbulletin/showthread.php on line 116
Reply With Quote
  #17  
Old 11-05-2002, 03:34 PM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What's in your phpinclude template right now?
Reply With Quote
  #18  
Old 11-05-2002, 09:21 PM
Fiyah Fiyah is offline
 
Join Date: Nov 2001
Location: Texas
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by filburt1
What's in your phpinclude template right now?
// This code is PHP4 only:
// ob_start();
// require("yourheader.html");
// $header = ob_get_contents();
// ob_end_clean();
Reply With Quote
  #19  
Old 11-05-2002, 09:25 PM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well you have to add the stuff to phpinclude as per the instructions ...
Reply With Quote
  #20  
Old 11-05-2002, 09:29 PM
Fiyah Fiyah is offline
 
Join Date: Nov 2001
Location: Texas
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did have it there, but I deleted it back out when people told me they were getting that error message.

I had it in there like this....

deleted
Reply With Quote
  #21  
Old 11-08-2002, 10:53 PM
Lostuk Lostuk is offline
 
Join Date: Feb 2002
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How would i make the bar slimmer like???

Thanx for the work grerat mod
Reply With Quote
Reply


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 09:23 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04392 seconds
  • Memory Usage 2,296KB
  • Queries Executed 25 (?)
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
  • (4)bbcode_quote
  • (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
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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