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 07-07-2002 12:32 PM

hmm, that weird

@boofo
i have installed the hack on vbb224, 225 and 226 again. i cannot reproduce your error on 224 and 226, while it happens to me too on a 225. i went through the files line by line without finding any reason for this. i exchanged the private.php and private2.php from the error-showing 225 then with the files from working 224 without having any change. i exchanged the files the other direction without the error occuring afterwards.
so my conclusion would be that the error comes from any other change not in the two files from 224 to 225 that was taken back in 226 again, but i cannot tell you which one as i simply dont know.
im sorry my support is that ad but i cant offer any other advice than: try the upgrade to 226 :(
sorry

@aquariumpros
your files look fine, so i would need the templates that you added/changed too.
thx
kreftt

aquariumpros 07-07-2002 03:07 PM

Quote:

Originally posted by kreftt
@aquariumpros
your files look fine, so i would need the templates that you added/changed too.
thx
kreftt

Copies of the templates have been e-mailed to you.

Thanks again,
*~AJ~*

kreftt 07-07-2002 07:29 PM

@aquariumpros

you made a mistake in your privfolder template.
where the instructions say to add this:

Code:

<table cellpadding=5 cellspacing=0 border=0 width="{contenttablewidth}">
  <tr>
    <td width="200" valign="top">
    <table cellpadding=4 cellspacing=1 border=0 bgcolor="{tablebordercolor}" width="200">
      <tr bgcolor="{tableheadbgcolor}" id="cat">
      <td align="center" height="28"> <normalfont><b>Folder</b></normalfont></td>
      </tr>
      <tr>
      <td  bgcolor="{firstaltcolor}" width="100%"><normalfont><a href="private.php?s=$session[sessionhash]&folderid=0">Inbox</a></font></td>
      </tr>
      <tr>
      <td bgcolor="{firstaltcolor}" width="100%"><normalfont><a href="private.php?s=$session[sessionhash]&folderid=-1">Sent Items</a></font></td>
      </tr>
      <tr>
      <td bgcolor="{firstaltcolor}" width="100%"><normalfont><a href="private2.php?s=$session[sessionhash]">Message Tracking</a></font></td>
      </tr>
$folderboxeshack
    </table>
          <br>

<form action="private.php" method="post">
<input type="hidden" name="s" value="$session[sessionhash]">
    <table cellpadding=4 cellspacing=1 border=0 bgcolor="{tablebordercolor}" width="200">
      <tr bgcolor="{tableheadbgcolor}">
      <td  height="28" align="center"><normalfont><b>Add Folder</b></normalfont>$hiddenfolderboxes</td>
      </tr>
      <tr>
      <td bgcolor="{firstaltcolor}" width="100%">$newfolderboxes        <input type="hidden" name="action" value="doeditfolders">
        <input type="image" class="bginput" name="submit"  src="{imagesfolder}/go.gif">
</td>
      </tr>
    </table>
</form>





<table cellpadding=4 cellspacing=1 border=0 bgcolor="{tablebordercolor}" width="200">
<tr bgcolor="{tableheadbgcolor}">
<td colspan=3 align="center">
<normalfont><b>PM Quota</b></normalfont>
</td>
</tr>

<tr>
<td bgcolor="{firstaltcolor}" colspan=3><smallfont>You are using $pmpercent% of your quota.




</font>
</td>
</tr>
<tr>
<td bgcolor="{secondaltcolor}" colspan=3>

<table cellpadding=0 cellspacing=0 border=0>
<tr>
<td bgcolor="{secondaltcolor}" width="200"><img src="$barimg" width="$pmpercent %" height="9">
</td>
</tr>
</table>

</td>
</tr>
<tr bgcolor="{firstaltcolor}">
<td width="33%"><smallfont>0%</font>
</td>
<td width="34%" align="center"><smallfont>50%</font>
</td>
<td width="33%" align="right"><smallfont>100%</font>
</td>
</tr>
</table>

</td>
<td width="100%" valign="top">

above this:

Code:

<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
<form action="private.php" method="post" name="form">

$privatemessages

you added this:

Code:

<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
<form action="private.php" method="post" name="form">

$privatemessages

instead resulting in this section being showed twice.
if u replace the upper instance of this:

Code:

<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
<form action="private.php" method="post" name="form">

$privatemessages

with the correct code you should be fine...

kreftt

aquariumpros 07-07-2002 08:36 PM

PERFECT!!!

That fixed it 100%.

Thank you again for taking the time to help me out!!

Great Hack!!!

*~AJ~*

Boofo 07-07-2002 08:50 PM

Wouldn't that have something to do with the specialcharacters variable? I'm just guessing here. :)

Quote:

Originally posted by kreftt
hmm, that weird

@boofo
i have installed the hack on vbb224, 225 and 226 again. i cannot reproduce your error on 224 and 226, while it happens to me too on a 225. i went through the files line by line without finding any reason for this. i exchanged the private.php and private2.php from the error-showing 225 then with the files from working 224 without having any change. i exchanged the files the other direction without the error occuring afterwards.
so my conclusion would be that the error comes from any other change not in the two files from 224 to 225 that was taken back in 226 again, but i cannot tell you which one as i simply dont know.
im sorry my support is that ad but i cant offer any other advice than: try the upgrade to 226 :(
sorry


tHE DSS 07-27-2002 05:32 PM

Hiya,

This hack is pretty smooth.... except, i'd like to implement that bit, showing in brackets, the number of PMs in each folder.

I fiddled with the SQL queries, and seemed to sort it... but, couldn't output.

Where is the output going... and could somone just confirm the query for me?

I'm in the process of fastracking a vB installation with loads of custom stuff, so can't really afford the time to tamper anymore with this.

Cheers.

Tim Wheatley 08-08-2002 12:51 AM

There's no delete button in the sent messages... ?

Tim Wheatley 08-08-2002 01:07 AM

Yes there is - my bad. :)

ryancooper 08-09-2002 12:53 AM

Awesome Hack, Installed Flawlessly!

Thanks!

Boofo 08-22-2002 12:01 AM

Well, sir, it is fixed. There are no more slashes messing up the folder view on Folders that have an apostrophe in the name. Instead of addslashes, stripslashes took care of the problem. :)

Quote:

Originally posted by kreftt
hmm, that weird

@boofo
i have installed the hack on vbb224, 225 and 226 again. i cannot reproduce your error on 224 and 226, while it happens to me too on a 225. i went through the files line by line without finding any reason for this. i exchanged the private.php and private2.php from the error-showing 225 then with the files from working 224 without having any change. i exchanged the files the other direction without the error occuring afterwards.
so my conclusion would be that the error comes from any other change not in the two files from 224 to 225 that was taken back in 226 again, but i cannot tell you which one as i simply dont know.
im sorry my support is that ad but i cant offer any other advice than: try the upgrade to 226 :(
sorry

thx
kreftt



All times are GMT. The time now is 08:12 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.01430 seconds
  • Memory Usage 1,757KB
  • 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_code_printable
  • (3)bbcode_quote_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