vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=139)
-   -   [release] Hackless/imageless PM bar on forumhome (https://vborg.vbsupport.ru/showthread.php?t=85183)

filburt1 11-02-2002 10:00 PM

[release] Hackless/imageless PM bar on forumhome
 
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.

filburt1 11-03-2002 01:18 AM

Screenshot:

Tony G 11-03-2002 03:43 AM

Nice mod, but it looks ugly on forumhome so I'm not going to use it.

imported_TMG1 11-03-2002 03:54 AM

nice another winner

imported_Tweak 11-03-2002 04:27 AM

Anyway to do this like a STAR SYSTEM.

filburt1 11-03-2002 12:36 PM

Quote:

Originally posted by Tony
Nice mod, but it looks ugly on forumhome so I'm not going to use it.
Ugly as in colors ugly or ugly as in should be in private.php instead?

With a little bit of work you can change the colors :)

imported_TMG1 11-03-2002 02:08 PM

ya you can change the colors very easy.

Fiyah 11-05-2002 04:14 AM

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.

Tony G 11-05-2002 05:51 AM

Quote:

Originally posted by filburt1


Ugly as in colors ugly or ugly as in should be in private.php instead?

With a little bit of work you can change the colors :)

It's not the colors, just having a nice fat bar on forumhome isn't appealing to me.

alkatraz 11-05-2002 06:31 AM

Great! Thanks!

I modified mine a bit so that it's more compact... I removed the <smallfont> tags and replaced it with <font face=terminal size=1>&nbsp;</font> (There's 3 of them, one in each bar table.

I also removed one of the <br>'s in forumhome_pmloggedin

Fiyah 11-05-2002 01:17 PM

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.

Fiyah 11-05-2002 01:35 PM

Nope, that didn't work either.

I pasted the info in my phpincluded template exactly like it is above in the txt file.

filburt1 11-05-2002 02:53 PM

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.

filburt1 11-05-2002 02:54 PM

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?

Fiyah 11-05-2002 02:59 PM

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

filburt1 11-05-2002 03:34 PM

What's in your phpinclude template right now?

Fiyah 11-05-2002 09:21 PM

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();

filburt1 11-05-2002 09:25 PM

Well you have to add the stuff to phpinclude as per the instructions ...

Fiyah 11-05-2002 09:29 PM

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

Lostuk 11-08-2002 10:53 PM

How would i make the bar slimmer like???

Thanx for the work grerat mod

alkatraz 11-08-2002 11:38 PM

Quote:

Originally posted by Lost
How would i make the bar slimmer like???

Thanx for the work grerat mod

Check my post on the first page for a screenshot and instructions on how I made it a bit slimmer.

Lostuk 11-09-2002 08:15 AM

Done that and stil it will not shrink the bar,the text has gone nice and small .

Yes i removed the <brs> and yes i replaced the <smallfont>

In 3 places as you said

filburt1 11-09-2002 01:28 PM

You can get rid of all the text inside the table cells, then specify your own height.

LiL pImPsTeR 11-11-2002 08:55 AM

yah fil, i get that weird *** error in my header now too, i did exactlly wut u said, but now at the top of my forum is tells me that i have this...

<php>Warning: Division by zero in c:\program files\easyphp\www\private\global.php(309) : eval()'d code on line 23

Warning: Division by zero in c:\program files\easyphp\www\private\global.php(309) : eval()'d code on line 57</php>

can u tell me wuts wrong?

scorpion2003 11-11-2002 10:31 AM

that's a nice one!

filburt1 11-11-2002 11:21 AM

Maybe you don't have a PM quota in which case the bar would be kinda pointless...

CobraR 11-12-2002 05:11 AM

im having a problem also. installed it on both templates and it has no bar. Just shows "You have 0 new message(s) since your last visit.
(You have 0 unread messages and 0 total messages in all your folders.) You are using % of your allowed storage space of 70 messages"

what did i do wrong?

lebanon2001 11-13-2002 07:10 PM

THANK YOU

filburt1 11-13-2002 07:13 PM

Quote:

Originally posted by highrider
what did i do wrong?
Something in the phpinclude template is wrong.

pattox 03-06-2003 07:15 PM

can I also do this without the bar?

ah never mind I found it owt.


All times are GMT. The time now is 03:50 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.02136 seconds
  • Memory Usage 1,767KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (30)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete