Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jan 2000
Posts: 23
Member
Member
Offline
Joined: Jan 2000
Posts: 23
Beta Release v1.0b
Thread Splitting Hack
Description: You know those looong threads that change subject? Why not move those to a new thread? That's what this does. Essentially, its a "move hack" for individual posts.
Features: Either Move or Copy posts to new threads. Two methods of implementing [Linked Image]
Location: http://www.enter.net/~rmsullivan/ubb_hacks/threadsplit.txt
Installation: Download the file, and make any fixes necessary. Upload in ASCII to UBB CGI directory, rename to threadsplit.cgi, and set permissions to 755.
Usage: Either call threadsplit.cgi directly, or follow the optional directions below (freeware only)
Optional Directions: (note: assumes you have my O/C/D hack installed)
Open ubb_library2.pl and find:
Code
code:
at the end of THAT line, find:
Code
code:
DIRECTLY BEFORE that, add this:
Code
code:

(wow, what a structured post)
Hopefully, with later releases I'll make the HTML better (its really crappy now), add some more stuff, fix any bugs, etc.

Feedback?

(Oh, if you're wondering, being that I'm the Freeware guy, I had some help with the licensed stuff - so it should work.)

------------------
-mike
Casual Players Alliance - And that freeware UBB. [Linked Image]

Sponsored Links
Joined: Jun 2000
Posts: 263
Junior Member
Junior Member
Offline
Joined: Jun 2000
Posts: 263
Can we see it in action?

Joined: Feb 1999
Posts: 1,379
cal Offline
Programmer
Programmer
Offline
Joined: Feb 1999
Posts: 1,379
I thought you'd do this soon. Could resist a challenge hey? hehe

OOI, who helped you Ed?

Just a thought [Linked Image]

Joined: Jun 2000
Posts: 263
Junior Member
Junior Member
Offline
Joined: Jun 2000
Posts: 263
So, let me get this:
this hacks allow you to move one POST to another thread?
Or am i confused again? [Linked Image]

Joined: Feb 1999
Posts: 1,379
cal Offline
Programmer
Programmer
Offline
Joined: Feb 1999
Posts: 1,379
That's sort of what it means. Ed's been planning this for some time - it allows the splitting of a multi subject thread into seperate subject threads (for admin). It's a very good idea.

Just a thought [Linked Image]

Sponsored Links
Joined: Jan 2000
Posts: 23
Member
Member
Offline
Joined: Jan 2000
Posts: 23
ilya - Sorry, its only on my testing board right now. Hence the reason its beta. [Linked Image] Ok, what it does, though, is brings up a page that lists foreach $post(@thread) -- err.. for each post in the thread ([Linked Image]) in one page. Then you have an option to either move or copy each post to a new thread (or neither).

Oh, almost forgot:
Cal - Stallion helped me out a little.

------------------
-mike
Casual Players Alliance - And that freeware UBB. [Linked Image]

Joined: Jan 2000
Posts: 64
Member
Member
Offline
Joined: Jan 2000
Posts: 64
i had trouble with this on a licensed ubb. it looked like it was working but it didn't write the threads correctly. I'll be looking at it today to find out why.

very cool, thanx!

Joined: Jan 2000
Posts: 23
Member
Member
Offline
Joined: Jan 2000
Posts: 23
Mutt - check out the $StatsLine stuff -- that was an area I wasn't sure about. I think that may be the problem.

------------------
-mike
Casual Players Alliance - And that freeware UBB. smile

Joined: Jan 2000
Posts: 64
Member
Member
Offline
Joined: Jan 2000
Posts: 64
I have it working. and it's pretty cool. Have a direct link on the thread page and a link in the cp to the main page. it was the change me lines and a little more. here are the change me lines

Code
code:
i can't remember what is different with these guys but soimething changed


plus i had to add
Code
code:

before the 3

&CreateThreadHTML("Forum$x", "$thread", "0", "1");

NOTE : $x isn't the variavle in all 3 so make sure you change it to the right thing. whatever variable is after Forum in the &CreateThreadHTML line is the variable you need in &GetForumRecord($x);

Ed Sullivan I'd be happy to send you the file if you'd like. I stripped out all the freeware stuff so i could see what was going on better so i didn't want to post it. I like that you made one script for both free and licensed. neat! I can't believe i just said neat.

Mutt

Joined: Jan 2000
Posts: 23
Member
Member
Offline
Joined: Jan 2000
Posts: 23
Mutt - send it my way. I'll just do some comparing. Thanks!

------------------
-mike
Casual Players Alliance - And that freeware UBB. smile

Sponsored Links
Joined: Feb 1999
Posts: 1,379
cal Offline
Programmer
Programmer
Offline
Joined: Feb 1999
Posts: 1,379
I still waiting for this one - It's a great idea.

Just a thought [Linked Image]

------------------
"Just is a thought" is a regestered trademark of Cal Corporation. Any violation of this copyright is a crime, punishable by death, under UBB CHH Law.

Joined: Jan 2000
Posts: 64
Member
Member
Offline
Joined: Jan 2000
Posts: 64
opps, I was expecting an email for some dumb reason and hadn't checked back to this thread. here it comes. I just mailed it

Joined: Jan 2000
Posts: 23
Member
Member
Offline
Joined: Jan 2000
Posts: 23
And now I don't check back to this thread [Linked Image]

Anyway, I think I made my changes correctly, but I'll have to check with the file Mutt sent me. I'll get back about it later.


Link Copied to Clipboard
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
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)