Web CMS Designs: Forums
 

 
Post new topic Reply to topic
Message
Display posts from previous:       
PostPosted: Tue Apr 30, 2013 8:18 am
Reply with quote Back to top
Nuken
Newbie
Newbie
Joined: Dec 14, 2010
Posts: 2

View user's profile Send private message
What changes did you make to Shortlinks to include the topic title in the url? If you don't mind sharing Very Happy
 
PostPosted: Fri May 03, 2013 3:49 pm
Reply with quote Back to top
spasticdonkey
Newbie
Newbie
Joined: Nov 18, 2010
Posts: 106
Location: Texas

View user's profile Send private message Visit poster's website
Sorry I missed this post... Sad

I've actually put the mod instructions mostly together, with some of the "extra" instructions still pending.. (for extending the changes to Feeds, Sitemap, Your Account, blocks, and probably an area or two I've forgotten...)

But I had some concerns having to redo it for 3.0 so I held off finishing it. I'll take a look this weekend and see what shape it's in. If it's somewhat legible, I could forward you a non-public copy.
spasticdonkeywebcmsdesigns
 
PostPosted: Fri May 03, 2013 11:40 pm
Reply with quote Back to top
Nuken
Newbie
Newbie
Joined: Dec 14, 2010
Posts: 2

View user's profile Send private message
No hurry. I know you are very busy with RN3. I was just curious if it was a simple mod or extensive. There was a user on Ravens site asking about it. Personally, I have no need for it. It looks cool, but I hate having to add a ton of mods when I upgrade my site.
 
PostPosted: Sat May 04, 2013 5:27 am
Reply with quote Back to top
spasticdonkey
Newbie
Newbie
Joined: Nov 18, 2010
Posts: 106
Location: Texas

View user's profile Send private message Visit poster's website
It's an easy mod, although with a fair amount of small edits to about a half dozen forum files. Of course to truly integrate it, it also requires edits to Feeds, Sitemap, Your_Account, blocks, and anywhere with links to forums and topics.

You basically have to edit the links to forums and topics to include the title in the URL, and the title has to be run thru a simple function first, to remove unwanted/invalid characters.

From there it's just a few extra taps for the new URL's.

An example before and after might look like so, where
$forum_data[$j]['forum_name']
is the title of the forum

BEFORE

'U_VIEWFORUM' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id"))


AFTER

'U_VIEWFORUM' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id&title=".gt_url($forum_data[$j]['forum_name'])))
spasticdonkeywebcmsdesigns
 
Post new topic Reply to topic Web CMS Designs Forum Index RavenNuke Tweaks and Tips
Your AccountNew Members
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2008 phpBB Group
 
 
Papa Mike Creations