Results 1 to 7 of 7
-
6th May 2010, 07:01 AM #1OPMember
Multiple Links In Profile Field
i just made a profile field on an IPB forum
where members can add links to their websites
i am using a text area for it
i used this code:
Code:<span class="ft">{title}:</span><br /><span class="fc"><a href="http://www.{content}">{content}</a></span>
Code:http://www.link1.com<br />link2.com
iFlames Reviewed by iFlames on . Multiple Links In Profile Field i just made a profile field on an IPB forum where members can add links to their websites i am using a text area for it i used this code: <span class="ft">{title}:</span><br /><span class="fc"><a href="http://www.{content}">{content}</a></span> but when i try clicking the links on postbit it opens the link like this Rating: 5
-
6th May 2010, 03:46 PM #2OPMember
bump?
-
7th May 2010, 01:52 PM #3MemberWebsite's:
litewarez.net litewarez.com triniwarez.comlooks liek the value of "{content}" has html inside it... make sure whatever is setting the vale of {content} is not adding the <br />
Join Litewarez.net today and become apart of the community.
Unique | Clean | Advanced (All with you in mind)
Downloads | Webmasters
Notifications,Forum,Chat,Community all at Litewarez Webmasters
-
7th May 2010, 02:00 PM #4Respected DeveloperWebsite's:
wrzc.orglol your trying to copy KWWH's custom script and add it to AdminHQ and your even asking here on the original site how to do it.
EDIT: ontopic. Litewarez is right. The content of {content} has the list of links not just one link.
What you want to do is either break up {content} so it becomes {content1} {content2} {content3} etc.
so it's like this:
Code:<a href="http://www.{content1}">{content1}</a><br /> <a href="http://www.{content2}">{content2}</a><br /> <a href="http://www.{content3}">{content3}</a><br /> ect.
Code:<span class="ft">{title}:</span><br /><span class="fc">{content}</span>
Code:<a href="http://www.link1.com">link1.com</a><br /> <a href="http://www.link2.com">link2.com</a><br /> <a href="http://www.link3.com">link3.com</a><br /> ect.
Code:<a href="http://www.link3.com"><img scr="http://www.link3.com/favicon.ico" title="link3.com"></a>
Tutorial How to SEO your Warez Site a guide to help you increase your organic traffic
Huge list of Warez Sites and free Multiposter Templates
-
7th May 2010, 08:16 PM #5OPMember
thats a cool idea happy
but how can i break up a single text area which contents are included in a single variable
which is {content}
to 3-4 different variables?
-
7th May 2010, 08:46 PM #6Respected DeveloperWebsite's:
wrzc.orgYa the favicon is cool. Remember to use a default one if none exist though. Why are you just saving one content? What does your code look like?
I'm not sure. Something like the following will work in PHP but you'll have to play around with it to get it into IPB:
PHP Code:$content = str_replace("<br />" , ' ' , $content);
$content = array_unique($content); //removes duplicates optional
foreach($content as $link) {
echo "<a href='http://www.".$link."'>".$link."</a>";
}
Tutorial How to SEO your Warez Site a guide to help you increase your organic traffic
Huge list of Warez Sites and free Multiposter Templates
-
10th May 2010, 05:02 PM #7Respected Member
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
[Selling] Profile Link Building - 120+ PR 4 - PR 9 Profile Links - Grab It Now
By Faizann20 in forum ServicesReplies: 1Last Post: 10th Sep 2012, 11:55 AM -
Multiple names for same HTML form field
By pankaj in forum Web Development AreaReplies: 0Last Post: 6th May 2012, 02:45 PM -
[HELP] Costum profile field of thread starter in threadbit
By White Devil in forum vBulletinReplies: 7Last Post: 21st Oct 2011, 01:06 PM -
User profile website field abuse
By nYXem in forum Feedback and SuggestionsReplies: 22Last Post: 14th Oct 2011, 02:11 PM
themaPoster - post to forums and...
Version 5.22 released. Open older version (or...