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)

the_sisko 04-01-2002 01:28 PM

Just was about to do the same *G*

My query:
PHP Code:

SELECT count(*) as count FROM `privatemessageWHERE userid=$bbuserinfo[userid] AND folderid $folder[folderid

Something like this to get, but anyway, you already did it ;)

Matt 04-01-2002 01:36 PM

I hope ;)

What does it do?
- Displays total PM's In :
-- Inbox
-- Sent Items Folder
-- Custom Folders

Screencap
See Post #20

Working Demo
http://www.darkangeluk.com/forums/

All credit goes to Kreftt for creating the hack in the first place! :D


HACK HERE - https://vborg.vbsupport.ru/showthrea...threadid=36840

kreftt 04-01-2002 01:59 PM

thank you matt, it works very fine and is exactly the addition needed i think.

3 little comments:

1) in your instruction file the colors are hardcoded instead of
PHP Code:

#13486D 

2) could u please do the instructions for the private2.php (message tracking) and the privsent template too as now it doesnt work yet.

3) can i include your addon in the original instruction file if i fully credit you?

greets

kreftt

PS

sorry again the_sisko http://www.plauder-smilies.de/wave.gif

Matt 04-01-2002 02:04 PM

Just making the changes now and I will properly reply ;)

Nemesis77 04-03-2002 11:07 AM

I installed this hack works great, but the board uses a width of 770. how can i get it so that the prive folder area is inline with the header and footer instead of being stretched wider?

kreftt 04-03-2002 11:45 AM

how did u get the board to be 770 ?

by changing the
PHP Code:

{contenttablewidth

variable in the replacements or by manually editing the content-table parts in the header template?

afaik the privfolder additions all include
PHP Code:

{contenttablewidth

as width-tag and therefore should use your 770 if you used the first method described above.

could u post the last lines of your header template?

Nemesis77 04-03-2002 03:40 PM

in the Admin CP under Styles/Modify for Main Table Width: it's set to 770 and for Content Table Width:
it set to 750

Here's the last few lines of my header

Code:

              </td>
              </tr>
              <tr id="cat">
                <td bgcolor="#000000" " width="80%" align="left" background="back22.gif" height="25"><font face="Verdana, Arial, Helvetica, sans-serif" size="-2"> <!-- toplinks -->
  $xmenucssexpr
  $xmenucode
  $xmenudef
  <!-- /toplinks -->
                  </td></tr>
            </table>
          </td>
        </tr>
      </table>
  </tr>
</table>
<!--added menu -->
<!-- content table -->
<table bgcolor="#0E3652" width="100%" align="center" cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
  <td>

Thanks for replying

kreftt 04-03-2002 07:25 PM

PHP Code:

<table bgcolor="#0E3652" width="100%" align="center" cellpadding="0" cellspacing="0" border="0" align="center"

either there was a code-pasting problem here or your width="100%" should be
PHP Code:

width="{ contenttablewidth }" 

(without the spaces) or width="750" instead, preferably the variable...

Nemesis77 04-03-2002 08:10 PM

Sorry the last line of my header actually does say tablewidth i forgot the put the space and vb put the value when i posted the thread.

so this is actually the last line of my header

Code:

<!-- content table -->
<table bgcolor="{ pagebgcolor}" width="{ tablewidth}" align="center" cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
  <td>


kreftt 04-05-2002 03:42 AM

im sorry

ive tried myself and even as its plain dumb html, i have been unable to get that bloody hack to a width of 750...

sorry i cant help you


All times are GMT. The time now is 02:56 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.02093 seconds
  • Memory Usage 1,746KB
  • 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_code_printable
  • (6)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