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

Mystics 04-25-2002 04:12 PM

I have running both (this hack + addon) without problems on 2.2.5...and I don't remember doing anything special ;)

Mystics

eg_92901 04-25-2002 06:55 PM

Works great. I'm running 2.2.5 and besides some minor code differences everything works great. Thanks, my members love it already. :)

kreftt 04-25-2002 07:16 PM

so im the only stupid?
seems i need to take a look into that addon again :(

Matt 04-25-2002 07:51 PM

I have the add-on working fine on 2.2.5 also ;) No changes made to it either.

CeleronXL 04-28-2002 07:00 PM

There's no text area next to the Go button in the Add Folder place in mine.... Why is this?

CeleronXL 04-28-2002 11:16 PM

Ah ha, fixed that problem. Ok, but now it just displays folder names, and not the number of posts in it. It just displays "Inbox" and not "Inbox (xx)"

Wildthinks 04-29-2002 10:17 AM

nice hack very cool--

Super, hab ich gleich installiert..gefällt mir wirklich gut...

kreftt 04-29-2002 11:36 AM

@CeleronXL
the number of total pms in any folder are the addon for this hack that Matt coded. The instructions and better support than i can give are to be found here:
https://vborg.vbsupport.ru/showthrea...threadid=36840

greets

kreftt

CeleronXL 04-29-2002 05:59 PM

Ooooooh. I get it. Thanks. :p

FleaBag 05-16-2002 10:38 PM

Installed on 2.2.5. Working great! Thanks!

Khaybel 05-17-2002 07:04 PM

Thank you for making this hack :) The installed worked great, I'm using VB 2.5.5

I tweaked a few front colors etc, but otherwise, your instructions were very clear and easy to read, and using Ultra edit, the install only took about 10 mins if that.

My members were asking for way to see how many messages they used, this morning, so this worked wonderfully, thank you for your effort in making this. aka princeton and GOBLIN

my forums,
http://forums.orbsydia.com/index.php3

I included a screenshot of my forums with the new improved_pm system installed, it works great.

later :)

Velocd 05-17-2002 07:56 PM

I've been looking for this hack for awhile now, couldn't remember the name of it, but I'm glad I found it :D

Size 06-03-2002 02:57 PM

Awesome hack!

Is there a way to delete the custom folders?

Boofo 06-03-2002 05:35 PM

I have a user that uses a single quote after his name (i.e. Boofo') and when I enter a folder with the quote in it I get it like this:

Boofo\\\'

Is there any way to fix that?

Boofo 06-04-2002 02:12 PM

Here is a picture of another little add-on for the Improved PM Folderview hack. It's not much but if anyone is interested, I will release it. Let me know what you think. This is my first attempt at any sort of hack, but it DOES work great on my site.

Oops, forgot to tell what it does...It shows you the following:

Number of New Messages
Number of Read Messages
Number of Unread Messages
Number of Sent Messages
Number of Total Messages

at a quick glance.

kreftt 06-04-2002 02:57 PM

looks nice

would you please make a screenshot of the above mentioned problem?

thank you

kreftt

Boofo 06-04-2002 03:10 PM

Here is it. It's the folder at the bottom. It is named Boofo's folder. Also, when you add folders in the regular way (with the folders button) it seems to add another \ each time for some reason (in the editor listing only).

Quote:

Originally posted by kreftt
looks nice

would you please make a screenshot of the above mentioned problem?

thank you

kreftt


Minots 06-05-2002 06:21 AM

Hi everybody.
I have done a little modification at 'privmsg' template, to have
a better looking style when reading a pm.
I add a snapshot to show what I mean. ;)

Boofo 06-05-2002 06:25 AM

Looks good...I'd be interested in trying it out if you want to release it.

Quote:

Originally posted by Minots
Hi everybody.
I have done a little modification at 'privmsg' template, to have
a better looking style when reading a pm.
I add a snapshot to show what I mean. ;)


Minots 06-05-2002 07:11 AM

I add my custom made template as attachment.
Don?t forget to translate anything to your favorite language
because I?m using the german one. ;)

FleaBag 06-20-2002 01:37 PM

Installed on 2.2.6, all seems to be running smoothly! Thanks. :)

Bob 06-22-2002 07:54 AM

WOW this hack rocks!!! Thank you for the hard work!!

Boofo 06-22-2002 07:58 AM

Any luck with figuring out a fix for my problem? :)

Quote:

Originally posted by kreftt
looks nice

would you please make a screenshot of the above mentioned problem?

thank you

kreftt


sKunk 06-28-2002 01:04 PM

This hack is installed and running under 2.2.6 over at http://www.tournament.com.

Great work :up:

Boofo 07-04-2002 01:32 AM

kreftt, are you still supporting this hack? I'm still having a problem with the folders with the \ in them.

aquariumpros 07-04-2002 02:00 AM

Any reason that I only have it working when I click to my Message Tracking view?

When I click on either my Inbox/Saved or Sent Items folder views, all I get is a double post of the message list?!?!

Any help would be appreciated.

Cheers,
*~AJ~*

kreftt 07-04-2002 09:46 AM

im sorry you folks, my internet connection is very unstable at the moment, i can only connect from work.
@boofo
i take a look into it, i guess this can be fixed
@aquariumpros
could you send me your private.php and your private2.php to kreftt@uni.de ?

sorry for the delay again, next time im online is monday :(

kreftt

Boofo 07-04-2002 10:58 AM

Great! I'll be looking forward to it. :)

aquariumpros 07-04-2002 04:26 PM

kreftt

They have been sent.

Thanks in advance,
*~AJ~*

musicfreak12399 07-06-2002 01:39 PM

installed and love this hack.. Great Work


All times are GMT. The time now is 12:18 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.22660 seconds
  • Memory Usage 1,817KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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