Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
5 registered (blaaskaak, Djuma, Organizer21, Thelockman, 1 invisible), 24 Guests and 18 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 11/02/08
Posts: 2
Top Posters (30 Days)
Ruben Rocha 179
Gizmo 112
Rick 109
Thelockman 80
driv 43
AllenAyres 35
ntdoc 28
Ian 24
Sirdude 23
ScriptKeeper 20
Latest Photos
My Home System
test photo gallery
Bernese Mountain Dogs
My Daimler
Dorado and shark
Topic Options
Rate This Topic
#206529 - 02/16/08 10:15 AM How to create custom URLs from posted links
bilbo Offline
stranger

Registered: 05/18/07
Posts: 7
I'm not sure where exactly this process takes place, but apparently there is a process which looks for URLs included in a post, and then creates linked text from the URL.

The original link becomes the linked text (truncated in some cases), and the actual URL is then applied using the [url= method.

What I want to do is to have posted URLs which direct to certain web-sites modified from the original posted URL format to include my affiliate IDs.

We are using version 6.5.

Is this functionality covered in one of the editable templates?
If not, can you direct me to the code which currently conducts the evaluation of post contents?

I'm reasonably sure I am not using the correct vernacular, but please ask if my quest is not understandable.

Essentially, I want to:
1. Discover included URLs (as already designed)
2. Read the URL looking for specified attributes
3. In the case the specified attributes are discovered I want to reconstruct the URL with a predefined content and structure.

As it is now, I have to manually edit each post containing these links, and then run a SQL update query to remove the Edited by info (unless the post was previously edited in which case it is more work to capture the existing edited by info and restore it after I edit it).

Any help will be deeply appreciated!!!

Top
#206625 - 02/17/08 10:07 PM Re: How to create custom URLs from posted links [Re: bilbo]
AllenAyres Moderator Offline

****

Registered: 12/29/03
Posts: 1639
Loc: Texas
I believe it's covered in ubbthreads.inc.php, been a while since I've looked at it tho smile
_________________________
- Allen
- ThreadsDev | PraiseCafe

Top


Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Shrinking graemlins
by Djuma
Yesterday at 05:48 PM
2 problems I'm seeing now.
by DougMM
Yesterday at 04:39 PM
Which CSS Style Controls the bottom lines
by David DelMonte
Yesterday at 01:51 PM
UBBThreads vs. vBulletin -- Defections & Why So Tough to Compare?
by WebMagic
Yesterday at 12:28 PM
Font and column shifts occuring
by Bill B
11/30/08 06:21 PM
Forum Stats
4261 Members
33 Forums
30532 Topics
154962 Posts

Max Online: 978 @ 06/24/07 08:19 PM