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
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: 2575
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 (), 25 Guests and 15 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Forum 'Trader Ratings'.
by blaaskaak
11/20/08 08:27 AM
Problems reading a lot of old posts here
by Ruben Rocha
11/18/08 04:33 PM
PhotoPost BB Code Popup
by Iann128
11/15/08 01:24 PM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
Active Topics.
by AllenAyres
11/11/08 02:13 PM
Looking for a simple upload script
by AllenAyres
11/11/08 02:12 PM
New Mods
Forum 'Trader Ratings'.
by McLemore
11/19/08 02:14 PM
[7.4] Keep log of custom title changes
by blaaskaak
10/27/08 07:51 AM
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Newest Members
nick1, Begbie, cenk, MATTO, DougMMcts
13362 Registered Users
Top Posters
AllenAyres 25448
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks