php forum
php mysql forum
php mysql smarty
 
Topic Options
#251292 - 06/17/03 04:19 PM Finished-[6.2-6.3] PM-Limit 1.1
3DSHROOM_dup1 Offline
Journeyman

Registered: 04/17/02
Posts: 108
Loc: Texas

   Finished-[6.2-6.3] PM-Limit 1.1 to Del.icio.us Add to del.icio.us
  Digg Finished-[6.2-6.3] PM-Limit 1.1 Digg it
Mod Name / Version: PM-Limit 1.1 <br /> <br />Description: Limits the number of PM's to show in the PM list and adds prev/next-buttons. <br /> <br />Working Under: UBB.Threads 6.2-6.3 <br /> <br />Mod Status: Finished <br /> <br />Any pre-requisites: <br /> <br />Author(s): Gardener, Converted to 6.2 by Astaran <br /> <br />Date: 06/17/03 <br /> <br />Credits: Muhammad for coming up with the idea. <br /> <br />Files Altered: viewmessages.php, viewmessages.tmpl <br /> <br />New Files: None <br /> <br />Database Altered: No <br /> <br />Info/Instructions: <br /> <br />Disclaimer: Please backup every file that you intend to modify. <br />If the modification modifies the database, it's a good idea to backup your database before doing so. <br /> <br />Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files. <br /> <br />


Attachments
85383-PM-Limit-1_1.txt (58 downloads)



Edited by Gardener (06/21/03 12:43 PM)
_________________________
SacredShrooms.org

Top
#251293 - 06/17/03 06:30 PM Re: Finished-[6.2-6.3] PM-Limit 1.1 [Re: AleksejVL]
Gardener Offline
Addict

Registered: 05/11/99
Posts: 1956
Loc: Sweden, Uppsala
Thanks for the update!
_________________________
/Gardener | Complete list of my mods

Top
#251294 - 06/21/03 09:15 AM Re: Finished-[6.2-6.3] PM-Limit 1.1 [Re: c0bra]
dimopoulos Offline
Kahuna

Registered: 08/18/02
Posts: 1271
Loc: Vienna, Austria
A minor omission. I have installed this modification in several sites and it did work but on a couple of them you need to add the following:<br />
Code:
<br />    $page = get_input("page","get");<br />
<br />below<br />
Code:
<br />    $Cat = get_input("Cat","get");<br />    $box = get_input("box","get");<br />
<br />This will effectively grab the page passed and make the script work.
_________________________
Nikos

Top
#251295 - 06/21/03 12:38 PM Re: Finished-[6.2-6.3] PM-Limit 1.1 [Re: Hal_dup2]
Gardener Offline
Addict

Registered: 05/11/99
Posts: 1956
Loc: Sweden, Uppsala
Thanks for the fix. I'll update the first post of the thread.
_________________________
/Gardener | Complete list of my mods

Top
#251296 - 07/07/03 05:20 AM Re: Finished-[6.2-6.3] PM-Limit 1.1 [Re: c0bra]
Ian_W Global Moderator Offline
Veteran

Registered: 02/22/02
Posts: 2574
Loc: England
When I try this - I am getting a blank page, instead of the list of PM's being diplayed - can't see any errors that I have made.<br /><br />If I look at the source for the page, it does not even appear to call the tmpl as nothing is in the code.
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#251297 - 07/07/03 03:17 PM Re: Finished-[6.2-6.3] PM-Limit 1.1 [Re: Gorlum]
dimopoulos Offline
Kahuna

Registered: 08/18/02
Posts: 1271
Loc: Vienna, Austria
Language files maybe Ian?
_________________________
Nikos

Top
#251298 - 08/31/03 12:39 AM Re: Finished-[6.2-6.3] PM-Limit 1.1 [Re: Hal_dup2]
ST Offline
Junior Member

Registered: 08/03/03
Posts: 160
I get a Parse error in live 225 of viewmessages.php.<br /><br />The lines 223-226 look like this<br />[]<br />223 // Grab the tablewrapper<br />224 list($tbopen,$tbclose) = $html -> table_wrapper();<br />225<br />226 include("$thispath/templates/$tempstyle/viewmessages.tmpl");[/]<br />

Top
#251299 - 09/01/03 10:24 AM Re: Finished-[6.2-6.3] PM-Limit 1.1 [Re: Brett_Northan]
ST Offline
Junior Member

Registered: 08/03/03
Posts: 160
Can anyone help with this error or offer a suggestion on how to end up with similar results? (ie making PM's show up as flat mod with multiple viewd at one time or with previous and next buttons)

Top
#251300 - 09/01/03 10:43 AM Re: Finished-[6.2-6.3] PM-Limit 1.1 [Re: Brett_Northan]
dimopoulos Offline
Kahuna

Registered: 08/18/02
Posts: 1271
Loc: Vienna, Austria
I would say that you have a small typo before those lines. Usually it is a missed ; or a "<br /><br />Check the instructions and if you still haven't found it give us a shout.<br />
_________________________
Nikos

Top
#251301 - 09/27/04 11:06 AM Finished-[6.5] PM-Limit 1.2 [Re: Hal_dup2]
Anno Offline
Code Monkey

Registered: 05/23/01
Posts: 562
Loc: Austria
Converted for 6.5 (very minor edits were needed).


Attachments
120487-PM-Limit1.2.txt (23 downloads)


Top
#251302 - 09/27/04 12:10 PM Re: Finished-[6.5] PM-Limit 1.2 [Re: domain123]
Anno Offline
Code Monkey

Registered: 05/23/01
Posts: 562
Loc: Austria
Oh, I nearly forgot:<br /><br />I added a "Send a PM" botton to the messages screen(where it should have allways been one IMO)<br /><br />In viewmessages.tmpl<br />Search for<br /><br /><td class="navigation" nowrap="nowrap"><br /><!-- prevoption is either previous.gif or greyprevious.gif --><br /><br />Insert BEFORE:<br /><td class="navigation" nowrap="nowrap">&nbsp;<br /><a href="{$config['phpurl']}/sendprivate.php?Cat=0">Send a PM</a>&nbsp;<br /></td><br /><br /><br />There are 2 of those strings, so you will have to do this twice in this file.

Top
#251303 - 09/27/04 12:11 PM Re: Finished-[6.5] PM-Limit 1.2 [Re: domain123]
Anno Offline
Code Monkey

Registered: 05/23/01
Posts: 562
Loc: Austria
The overall result looks like this:<br /><br /> []http://img.photobucket.com/albums/v453/annonymer/sendapm.gif[/]

Top


Moderator:  Ian_W 
Who's Online
0 Registered (), 28 Guests and 4 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Blogs, love em or hate em?
by Ian_W
Yesterday at 03:47 PM
What do you use to edit the files
by Ian_W
Yesterday at 03:33 PM
BeyondCompare v3.00
by Ian_W
Yesterday at 03:32 PM
Glossy Black Theme with Image Reflection
by Gizmo
Yesterday at 02:17 PM
ShareThis
by Gizmo
09/28/08 05:06 AM
[7.3] Viewing MySQL logfiles made easier
by AllenAyres
09/27/08 09:57 PM
Looking for a simple upload script
by Murphdog
09/26/08 08:45 PM
New Mods
[7.3] Viewing MySQL logfiles made easier
by blaaskaak
09/24/08 05:39 PM
[7.3] Language file checker
by blaaskaak
09/09/08 12:56 AM
[7.3.1] add search to showmembers page
by blaaskaak
09/07/08 04:50 AM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
ghengis317, NitroX, Dogan, EliYah-, W-D
13344 Registered Users
Top Posters Last 30 Days
AllenAyres 16
blaaskaak 13
FREAK1 7
Mike L_dup1 4
Chris Bale 4
Ian_W 4
tackaberry 3

 

 

 
fusionbb message board php hacks