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)
-   -   Clean Sweep Private Message Box (https://vborg.vbsupport.ru/showthread.php?t=38489)

irn-bru 06-13-2002 05:39 PM

thanks nice work.

How can I make the empty pm box link the
same as the move, forward, and deleted, box.

Makes it a little neater :)

irn-bru 06-13-2002 05:54 PM

Screenpic

Logician 06-14-2002 09:23 AM

Quote:

Originally posted by irn-bru
How can I make the empty pm box link the
same as the move, forward, and deleted, box.

Not easily achivable. Altough this code:

PHP Code:

<FORM METHOD="LINK" ACTION="private.php?s=$session[sessionhash]&action=logicdelete">
<
INPUT TYPE="submit" VALUE="Empty PM box">
</
FORM

does what you want, you can NOT insert it by replacing line:

PHP Code:

<a href="private.php?s=$session[sessionhash]&action=logicdelete">Empty PM box</a

That's because this section is already inside an HTML FORM tag and you cant insert form tags inside eachother.

A few possible solutions:
1- Leave it as it is. :)
2- Use the code above but change the location of Empty PM BOX button. Insert the code outside an existing form (That is, it shouldnt be somewhere between <form .....> </form> tags)
3- Instead of a form button design, use a image for this button. You can make a trick and design an image that exactly looks like an HTML button for example..

Logician

Chris M 06-14-2002 03:11 PM

Nice Hack...

*Installs*

Satan

dreamhost 06-30-2002 05:09 AM

thanks for the hack. one question: I have added numerous hacks that have modified the privfolder. Your directions, instead of saying find this and replace with it says this is your new code. Could you please post the needed changes only? I've spent quite a bit of time trying to decifer the origional, vs. my current file, vs. yours, very confused. thanks

Logician 06-30-2002 04:18 PM

Quote:

Originally posted by dreamhost
Your directions, instead of saying find this and replace with it says this is your new code. Could you please post the needed changes only? I've spent quite a bit of time trying to decifer the origional, vs. my current file, vs. yours, very confused. thanks
Dreamhost the code that should be added to the template is:

PHP Code:

<a href="private.php?s=$session[sessionhash]&action=logicdelete">Empty Your Private Message Box</a

As you can see it's just a simple HTML link, so you can insert it to any template you want and to any section in that template you wish.

santeematt 07-17-2002 02:52 PM

sweet. i always have members who cant figure out how to erase there PMs.

dreamhost: i have the same issue as you, if you just look through the 'hacked' code you can figure out where the additions are

:)

yzztik 08-30-2002 11:47 PM

Great hack!

Anyone know a way to integrate the backup hack with this one so that when they get the confirmation box they can have the choice to erase, backup or cancel?

Morgalis 04-17-2003 12:43 AM

this is fabulous

i do however, need to know how to set WHEN it says too full!!

i allow 200 max messages, and it starts blinking at me when it reaches 60

either i have missed something simple or i need you to guide me please

Oblivion Knight 04-17-2003 10:04 AM

Tested on 2.3.0 RC3 and it's working like a dream :)
No more PM's from users asking why their PM Inbox is still more than 0% full after deleting their inbox..!

Thanks Logician,
[high]* Oblivion Knight clicks install.[/high]


All times are GMT. The time now is 06:16 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.01167 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_php_printable
  • (2)bbcode_quote_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
  • (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