Previous Thread
Next Thread
Print Thread
Rate Thread
Finished-[6.3-6.4] Move thread will PM topic starter #272930
04/28/2004 7:48 PM
04/28/2004 7:48 PM
Joined: Nov 2003
Posts: 491
SoCal
S
sirdude Offline OP
Enthusiast
sirdude  Offline OP
Enthusiast
S
Joined: Nov 2003
Posts: 491
SoCal
Mod Name / Version: Move thread will PM topic starter

Description: My forum reached critical mass on bitch mode, regarding moving threads. The topic starters wanted to know of the move via PM, but the mods are too busy to PM all the time. Hence the idea. It was also spurred on by one of the suggestions by oceanwest in the other forum here

Working Under: UBB.Threads 6.3, 6.4

Mod Status: Finished

Any pre-requisites: An editor and the ability to follow instructions.

Author(s): sirdude

Date: 04/28/04

Credits: oceanwest

Files Altered: admin/domovethreads.php

New Files: None

Database Altered: None

Info/Instructions: Click Here, read and implement.

Note: there are a couple of params you can tweak:

$pmPersonal = 0 - 3rd person PM, 1 - 1st person PM
$pmInform = 0 - PM even if they aren't accepting PM's, 1 - Don't PM

Note: i also figured it was obvious NOT to send a PM, if the topic starter is yourself! Hence the decision.

Disclaimer: Please backup every file that you intend to modify.
If the modification modifies the database, it's a good idea to backup your database before doing so.

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.

Sponsored Links
Re: Finished-[6.4] Move thread will PM topic starter [Re: ] #272931
04/28/2004 9:36 PM
04/28/2004 9:36 PM
Joined: Aug 2000
Posts: 1,802
North Carolina
D
DLWebmaestro Offline
Addict
DLWebmaestro  Offline
Addict
D
Joined: Aug 2000
Posts: 1,802
North Carolina
Sweet!

Re: Finished-[6.4] Move thread will PM topic starter [Re: ] #272932
04/30/2004 2:37 AM
04/30/2004 2:37 AM
Joined: Mar 2004
Posts: 122
EU, Slovenia
P
PaNTerSan Offline
Journeyman
PaNTerSan  Offline
Journeyman
P
Joined: Mar 2004
Posts: 122
EU, Slovenia
What if the thread was made by anonymous

Find:
Code
<br />if ($user['U_Number'] != $posterid) {<br />

Replace with:
Code
<br />if (( $user['U_Number'] != $posterid) &amp;&amp; ( $posterid &gt; 2) ) {<br />


Kind regards,
PaNTerSan
Re: Finished-[6.4] Move thread will PM topic starter [Re: Brandon Long] #272933
04/30/2004 5:22 AM
04/30/2004 5:22 AM
Joined: Nov 2003
Posts: 491
SoCal
S
sirdude Offline OP
Enthusiast
sirdude  Offline OP
Enthusiast
S
Joined: Nov 2003
Posts: 491
SoCal
good catch. i don't allow anon posters on my board, so it wasn't thought of.

thanks

note: and i believe it's [:"red"]($posterid > 1)[/], since the 1st admin is user is #2 and he/she might want to be notified
note: link updated with new code.

Re: Finished-[6.4] Move thread will PM topic starter [Re: ] #272934
04/30/2004 11:05 AM
04/30/2004 11:05 AM
Joined: Mar 2004
Posts: 122
EU, Slovenia
P
PaNTerSan Offline
Journeyman
PaNTerSan  Offline
Journeyman
P
Joined: Mar 2004
Posts: 122
EU, Slovenia
[]sirdude said:
i don't allow anon posters on my board, so it wasn't thought of.
[/]
Me neither - i only allow them to browse forums, login, register and read faq

[]sirdude said:
note: and i believe it's [:"red"]($posterid > 1)[/], since the 1st admin is user is #2 and he/she might want to be notified [/]
Dunno - I only have #1 - #2 does not exist.


Kind regards,
PaNTerSan
Sponsored Links
Re: Finished-[6.4] Move thread will PM topic starter [Re: Brandon Long] #272935
04/30/2004 11:37 AM
04/30/2004 11:37 AM
Joined: Nov 2003
Posts: 491
SoCal
S
sirdude Offline OP
Enthusiast
sirdude  Offline OP
Enthusiast
S
Joined: Nov 2003
Posts: 491
SoCal
hrm, i just installed a fresh ubbthreads and the 1st member is #2, so that jives with all my boards. i guess peeps will have to take care as to who the 'real' first $posterid is.

btw: my version(s) are 6.4.1 and 6.4.2.

Re: Finished-[6.4] Move thread will PM topic starter [Re: ] #272936
04/30/2004 8:11 PM
04/30/2004 8:11 PM
Joined: Sep 2003
Posts: 524
Twisty Offline
Code Monkey
Twisty  Offline
Code Monkey
Joined: Sep 2003
Posts: 524
Awesome, a great time-saver. This one works out of the box on v6.3.2 btw.

Re: Finished-[6.4] Move thread will PM topic starter [Re: smoknz28] #272937
04/30/2004 9:05 PM
04/30/2004 9:05 PM
Joined: Aug 2000
Posts: 1,802
North Carolina
D
DLWebmaestro Offline
Addict
DLWebmaestro  Offline
Addict
D
Joined: Aug 2000
Posts: 1,802
North Carolina
I've installed this on my website, and I'm sure my users will benefit greatly from this, since PMing them on a move has never been practiced by either my mods or I.

This should be a standard feature, IMHO. *hint, hint*

Great job! The Dude abides!

Re: Finished-[6.4] Move thread will PM topic starter [Re: smoknz28] #272938
04/30/2004 10:30 PM
04/30/2004 10:30 PM
Joined: Nov 2003
Posts: 491
SoCal
S
sirdude Offline OP
Enthusiast
sirdude  Offline OP
Enthusiast
S
Joined: Nov 2003
Posts: 491
SoCal
[]Twisty said:
Awesome, a great time-saver. This one works out of the box on v6.3.2 btw. [/]

ah, cool. i'll modify the description to include 6.3 as well. thanks for testing on that version.

Re: Finished-[6.3-6.4] Move thread will PM topic starter [Re: ] #272939
05/01/2004 10:20 AM
05/01/2004 10:20 AM
Joined: May 2001
Posts: 562
Austria
A
Anno Offline
Code Monkey
Anno  Offline
Code Monkey
A
Joined: May 2001
Posts: 562
Austria
Great mod!

Sponsored Links
Re: Finished-[6.3-6.4] Move thread will PM topic starter [Re: domain123] #272940
07/08/2004 1:08 PM
07/08/2004 1:08 PM
Joined: Jul 2003
Posts: 26
Santa Barbara, CA USA
PatrickEgan Offline
User
PatrickEgan  Offline
User
Joined: Jul 2003
Posts: 26
Santa Barbara, CA USA
I had requests from all my mods to do this. Glad I found yours. WORKS PERFECT! Thanks

Re: Finished-[6.3-6.4] Move thread will PM topic starter [Re: SHinZ] #272941
09/24/2004 5:45 AM
09/24/2004 5:45 AM
Joined: May 2001
Posts: 562
Austria
A
Anno Offline
Code Monkey
Anno  Offline
Code Monkey
A
Joined: May 2001
Posts: 562
Austria
Works in the same way in 6.5, except that the file to change is
domovethread.php .


Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with, and recommend, the following Web Hosts:
· Stable Host
· Blue Host
· Interserver.net
Visit Us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,170
Joined: July 2001
Show All Member Profiles 
Forum Statistics
Forums64
Topics37,448
Posts293,484
Members13,793
Most Online1,498
Mar 17th, 2017
Top Posters(All Time)
AllenAyres 25,587
JoshPet 11,330
Rick 8,373
LK 7,396
Lord Dexter 6,503
Gizmo 5,938
Greg Hard 5,533
Top Posters(30 Days)
Today's Statistics
Currently Online 743
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 15
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2018 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 7.6.2
(Preview build 20180622.dev)
Page Time: 0.037s Queries: 15 (0.010s) Memory: 3.3139 MB (Peak: 3.5177 MB) Zlib enabled. Server Time: 2018-07-15 21:22:45 UTC