vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Improved PM Folderview (https://vborg.vbsupport.ru/showthread.php?t=36764)

LouChipher 04-15-2002 08:38 AM

>... should be done, worked for me.

no.. :(

DiSS Troya 04-15-2002 09:16 AM

excellent job on the hack!

kreftt 04-15-2002 11:12 AM

could u attach your private.php then here please?

i think thats the easiest if i take a look at your code...

kreftt

Mystics 04-21-2002 07:12 PM

Hi,

if you have an user on your ignore list, and get a PM from him, you can't see the PM but the Gauge Hack counts it to the number of total PMs.

On the start page (index.php) you don't see this PM, because the the ignored users are excluded.

To fix this you should replace (in private.php and private2.php):
PHP Code:

  $msgcount $DB_site->query_first("SELECT COUNT(*) AS messages FROM privatemessage WHERE userid=$bbuserinfo[userid]"); 

with
PHP Code:

  $ignoreusers="";
  if (
trim($bbuserinfo['ignorelist'])!="") {
    
$ignoreusers='AND fromuserid<>'.implode(' AND fromuserid<>',explode(' 'trim($bbuserinfo['ignorelist'])));
  }
  
$msgcount $DB_site->query_first("SELECT COUNT(*) AS messages FROM privatemessage WHERE userid=$bbuserinfo[userid] $ignoreusers"); 

Mystics

sub 04-22-2002 09:49 AM

Awesome hack! :)

kreftt 04-23-2002 09:19 PM

sorry im late.

thanks a lot, i didnt even notice the bug as i dont use the ignorelist :(

i updated the zip with your fix, thanks again

greets

kreftt

JulianD 04-24-2002 08:15 AM

Hey kreftt, great hack!! I don't know why I missed it when it was released! But now I founded it and I think it's great! Thanks! Going to install it tomorrow!

Thanks again! :p

eg_92901 04-24-2002 05:06 PM

Great hack. No problems installing and it is so much easier to use than the default PM settup. I do have 2 questions though:

1. The font and color of the table header text for the "Folders" "Add Folders" and "Quota" tables don't match the rest of my site. I've had this problem on other pages too. Anyone know how I can fix that?

2. How do you make it so you see how many messages are in each folder like the example screenshot shot?

Ordovicium 04-24-2002 06:57 PM

I love this hack. Thank you very much.

kreftt 04-25-2002 03:42 PM

eg_92901:

1)
my fault fault, i didnt use the tableheadtextcolor-replacement :(

at the moment, the font&color for "Folder" and the other two are set to <normalfont><b>Folder</b></normalfont>

this means it should at least be the right font. to give it the same color like your other table headings, try sth like:

<normalfont color="{ tableheadtextcolor}"><b>Folder</b></normalfont>

WITHOUT the space between the { and the t

note: this is to be found in PRIVFOLDER template easily be searching for "Folder<"

2)this is the addon made by matt and posted in the beta-releases forum too.
( https://vborg.vbsupport.ru/showthrea...threadid=36840 )

note: this addon works fine on vbb 2.24, thats what the screenshot was made of. in 2.25 the code parts this addon depends on were changed and at least i have been unable to port the addon over to 2.25. so if you are already running 2.25, consider using a test board first...

and if u get the addon to run on 2.25 --> post it :D

greets

kreftt


All times are GMT. The time now is 08:37 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.01426 seconds
  • Memory Usage 1,743KB
  • 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
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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