Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Improved PM Folderview Details »»
Improved PM Folderview
Version: 1.00, by kreftt kreftt is offline
Developer Last Online: Nov 2005 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 03-30-2002 Last Update: Never Installs: 151
 
No support by the author.

TESTED ON 2.3.0 AND FOUND WORKING

What does it do?

You know it happens to me pretty often that my users wonder why they cannot receive any more pm's. the standard question "did you check your sent items folder?" is answered with the standard question "do i have a sent items folder?"...

to avoid that, this hack shows the user on the privatemessage mainpage which folders they have in a list with the ability to add a folder without having to switch to the folders template.

aditionally, i modified the pmgauge enhanced hack by WWW.TOTAL-IMPACT.COM aka princeton a little and included it.

so, its nothing special, but maybe some people like it.
note: im new to this, so the code might be very ugly...

instructions:

1) follow instructions.txt

Credits: The_Sisko, mystics and boofo for finding bugs and helping with the code

Please notice this add-on by matt that allows you to have the amount of messages in each folder displayed next to it. Working on 2.2.9 too.

NOTICE: If you installed the private messages backup hack by Cano2 which is found here, you will have to to change a bit in the instructions.txt:

where it says to find:
PHP Code:
  //get correct folder name
  
if ($folderid=="0") { 
you will need to find the SECOND instance as the private message backup hack adds another instance of this code to the file.

NOTICE2: if you installed the PM Quota by Usergroup Hack by g-force2k2 that can be found here then the solution to make both work together is here

please click install if you use it, thank you

kreftt

Show Your Support

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

Comments
  #192  
Old 06-16-2003, 02:25 PM
reismarktq2 reismarktq2 is offline
 
Join Date: Feb 2003
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Kreftt: http://www.vbulletin.org/hacks/index...ack&hackid=874
Reply With Quote
  #193  
Old 06-29-2003, 04:43 PM
jamoss's Avatar
jamoss jamoss is offline
 
Join Date: Apr 2002
Location: Los Angeles
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great. Thanks for your hard work on this and for sharing it!
Reply With Quote
  #194  
Old 06-30-2003, 02:26 PM
Frozen Dreams's Avatar
Frozen Dreams Frozen Dreams is offline
 
Join Date: Apr 2003
Location: Germany
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
02-06-03 at 07:05 PM kreftt said this in Post #152
i wont bet my money on this, but i guess it should work replacing all instances of $pmquota in the gauge hack by $touserinfo[pmlimit]
at least i hope so

tried that and didnt work
Reply With Quote
  #195  
Old 07-02-2003, 02:36 PM
Airs's Avatar
Airs Airs is offline
 
Join Date: Oct 2002
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First id like to say great hack! but im having some serious trouble installing it..i havent checked the rest of the codes but the first thing one has to change i cant find it anywhere in private.php oO
PHP Code:
$templatesused "usercpnav,privfolder_bit,privfolder_messages,privfolder_nomessages,privfolder,postbit_avatar,postbit_useremail,icq,aim,yahoo,postbit_homepage,postbit_profile,postbit_signature,privmsg,priv_reply,priv_sendprivmsg,redirect_pmthanks,redirect_pmdelete,priv_showfolders_folderbit,priv_showfolders,posticons,posticonbit"
This dosent seem to be anywhere in private.php..any help?
Reply With Quote
  #196  
Old 07-02-2003, 02:49 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 10:36 AM Airs said this in Post #194
First id like to say great hack! but im having some serious trouble installing it..i havent checked the rest of the codes but the first thing one has to change i cant find it anywhere in private.php oO
PHP Code:
$templatesused "usercpnav,privfolder_bit,privfolder_messages,privfolder_nomessages,privfolder,postbit_avatar,postbit_useremail,icq,aim,yahoo,postbit_homepage,postbit_profile,postbit_signature,privmsg,priv_reply,priv_sendprivmsg,redirect_pmthanks,redirect_pmdelete,priv_showfolders_folderbit,priv_showfolders,posticons,posticonbit"
This dosent seem to be anywhere in private.php..any help?
Yours is probably different if you have added any hacks. Try looking for

$templatesused

It is at the top of the file.
Reply With Quote
  #197  
Old 07-02-2003, 07:23 PM
kreftt's Avatar
kreftt kreftt is offline
 
Join Date: Dec 2001
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Boofo is most likely right...
Reply With Quote
  #198  
Old 07-02-2003, 07:26 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Most likely?
Reply With Quote
  #199  
Old 07-02-2003, 07:36 PM
Airs's Avatar
Airs Airs is offline
 
Join Date: Oct 2002
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yea he was lol thnx a lot was dumb of me for not thinking that ;p but anyways i got another problem >< when i click member tracking i get this:

Database error in vBulletin 2.3.0:

Invalid SQL: SELECT COUNT(*) AS foldermsgtotal FROM privatemessage WHERE userid=1 AND folderid=
mysql error: You have an error in your SQL syntax near '' at line 1

mysql error number: 1064
Reply With Quote
  #200  
Old 07-05-2003, 12:04 AM
Gutspiller's Avatar
Gutspiller Gutspiller is offline
 
Join Date: Dec 2001
Posts: 1,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can I get some help on the following problems with this hack:

1. My "go" button to add a new folder has grey in the corners where it's suppose to be transparent.

2. The go button is centered correctly with the "add folder" field.

3. I saw in some of the posts that people had added the feature to show how many messages were in each folder. I guess that wasn't added into the main instructional file cause I don't have it. That or I used an older version that I had on my HDD. Anyhow, I tried the query that was mentioned in a post on the 2nd page of this thread and it errored out. Can I get instructions on exactly how I go about adding it so that I can see how many messages on in each folder?

Thanks a bunch!

Great hack.
Reply With Quote
  #201  
Old 07-05-2003, 11:46 AM
kreftt's Avatar
kreftt kreftt is offline
 
Join Date: Dec 2001
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1) in template PRIVFOLDER find

Code:
<input type="hidden" name="action" value="doeditfolders">
<input type="image" class="bginput" name="submit"  src="images/go.gif">
change to

Code:
<input type="hidden" name="action" value="doeditfolders">
<input type="image" name="submit"  src="images/go.gif">
that should do it

2) guess you have a typo somewhere...

3) take a look here to find the add-on that brings the functionality

https://vborg.vbsupport.ru/showthrea...threadid=36840
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 02:32 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.08500 seconds
  • Memory Usage 2,312KB
  • 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
  • (2)bbcode_code
  • (3)bbcode_php
  • (2)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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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