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)

kreftt 01-17-2004 05:27 AM

could i get the sourcecode for the page the screenshot was made from to kreftt[at]gmx.com please?

chrisvonc 01-17-2004 11:04 AM

Thank you very much. Email sent! :)

Chris

ricker 01-25-2004 10:32 PM

I didn't see any instructions on what/how to add the privfolder_pmgauge template. The actual percentage is not showing up, nor the bar. We do not have any other pm hacks, so it is not something else interfering. Thanks for the help.

ricker 01-25-2004 10:50 PM

Oops, sorry. Found pmgauge hack info in that thread. We added the template, so that should work. It doesn't. The problem we have is the add folder box is not showing up. I'm thinking it might be a tag issue with the add folder box code, and it's screwing up the pmgauge also. Any ideas?

kreftt 01-26-2004 06:26 PM

yes. tell me please where your site is or send me a screenshot of the pm page plus its sourcecode and the templates in question to kreftt@gmx.com

greetz

kreftt

ricker 01-26-2004 06:30 PM

Hmm, I tried it once more and I think we figured out that Dreamweaver is the cluprit. This hack works beautifully now -- and we won't be editing with Dreamweaver anymore. Thanks for your karma! :D

kreftt 01-27-2004 08:17 PM

although i always found dreamweaver to be a fantastic tool im happy it worked for you now.

greetz

kreftt

Aaron1 01-28-2004 10:32 AM

Strange bug i found, whenever someone sends you a PM who's on you're ignore list, it adds a message to your Inbox total messages. Although the PM gauge works well though.

Any clues how to solve that?

Cheers!

Crank 01-28-2004 10:55 PM

ok i have read this entire thread and found no solution to my erorr could anyone please help i had tried to add a folder to my PM section and i got the following erorr and now i cant even see my pm's it keeps giving me the erorr.

Database error in vBulletin 2.3.4:

Invalid SQL: SELECT COUNT(*) AS foldermsgtotal FROM privatemessage WHERE userid=1 AND folderid=
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

mysql error number: 1064

kreftt 01-29-2004 05:51 PM

@Aaron1

you have matt's addon installed which doesnt check for your ignorelist.
you have two queries in your private.php and private2.php.
replace these three as this:

1) this fixes the values for custom folders
PHP Code:

$msginfolder $DB_site->query_first("SELECT COUNT(*) AS foldermsgtotal FROM privatemessage WHERE userid=$bbuserinfo[userid] AND folderid=$folder[folderid]"); 

with

PHP Code:

$msginfolder $DB_site->query_first("SELECT COUNT(*) AS foldermsgtotal FROM privatemessage WHERE userid=$bbuserinfo[userid] AND folderid=$folder[folderid] $ignoreusers"); 

2)this fixes the values for the inbox
PHP Code:

$msgin_inbox $DB_site->query_first("SELECT COUNT(*) AS inbox_msgtotal FROM privatemessage WHERE userid=$bbuserinfo[userid] AND folderid='0' $ignoreusers"); 

that SHOULD be it. if it doesnt work yet, put

PHP Code:

  $ignoreusers="";
  if (
trim($bbuserinfo['ignorelist'])!="") {
    
$ignoreusers='AND fromuserid<>'.implode(' AND fromuserid<>',explode(' 'trim($bbuserinfo['ignorelist'])));
  } 

in front of these queries.

greetz

kreftt

kreftt 01-29-2004 05:59 PM

@crank

i will need your private.php to kreftt@gmx.com

thx

kreftt

Aaron1 01-29-2004 06:37 PM

That worked Kreftt!

Excellent! And thank you for your fast reply & help!

Cheers!

/Aaron

rowanthemanfish 09-16-2004 02:04 PM

I have the same problem where the add folder name input doesnt appear? Is there an easy fix to this, lots of people seem to have suffered from it but no one has posted an actual answer.

Thansk

R

rowanthemanfish 09-30-2004 10:35 AM

bump...

rowanthemanfish 10-05-2004 11:58 PM

Can no one help me?

I just need to be able to see the folder addition box.

Pretty please...

inverted 11-17-2004 12:41 AM

does this work with 3.0.3? the newest vb?

rowanthemanfish 11-17-2004 08:17 AM

Does anyone know how to make the form field show up?

rowanthemanfish 03-04-2005 12:05 PM

fixed it, the template is named wrong in the instructions, i havent exactly been puzzling over it but on a glance thats all it was.

Copy the info from $priv_folder_add and put it in the form, bobs your uncle youre away.

between worlds 05-15-2005 01:06 PM

installed. it looks perfect! thankyou.

between worlds 06-08-2005 07:41 PM

Small problem. I get this message when I click Message Tracking

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/between/public_html/vm-boards/private2.php on line 32

Anybody able to help with the problem?

pdatoon 08-09-2005 07:58 AM

How does it work for admin? is there a special message or the gauge goes up forever?

toolblast 10-15-2006 11:26 PM

Has ANYONE ported this to 3.6.x? This is EXACTLY what im looking for! An improved PM interface! WOW this looks soooo good, so much more like hotmail rather than the ugly gui there is now... which isn't functional having the dropdown at the bottom.. people dont know where to delete messages since they are too blind to scroll to the bottom.

Can somebody port this please!?


All times are GMT. The time now is 01:27 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.01574 seconds
  • Memory Usage 1,765KB
  • 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
  • (4)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (22)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