Go Back   vBulletin Modification Discussions > vBulletin Discusions > vBulletin Modifications
Home Register FAQ Members List Calendar Mark Forums Read
vBSEO Info Tags

About This Page: This is a discussion on myspace code help within the vBulletin Modifications forums, part of the vBulletin Discusions category, at vBulletin Modification Discussions. i am using a hack for myspace link in postbit to link to their page. how it works is you make a extra profile field and the user puts in there myspace id and in there postbit it will show.


Reply
 
LinkBack Thread Tools
Old 02-11-2007, 09:02 AM   #1 (permalink)
Junior Member
 
Join Date: Nov 2006
Posts: 18
StuntFactoryX is on a distinguished road
iTrader: (0)
myspace code help

i am using a hack for myspace link in postbit to link to their page. how it works is you make a extra profile field and the user puts in there myspace id and in there postbit it will show. most of the url is already there and they are just tacking on the end to complete it. it displays like ......

"myspace id - my user id that i entered"

the problem im having is no matter how i explain it most users put the whole url.

what i would like to do is put in a code that user puts in there whole url and in the custom profile field and it shows a link that shows just

"myspace"

here is what i am using now.

Code:
<if condition="$post['field67']"><div>MySpace ID: <a href="http://www.myspace.com/$post[field67]" target="_blank">$post[field67]</a></div></if>
thanks in advance
StuntFactoryX is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links

Old 02-11-2007, 10:19 AM   #2 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,194
Code Monkey is on a distinguished road
iTrader: (0)
You do not want users putting in a url. You will lose control that way and open it up for them to put in any url. Is the myspace id their username or is it a number?

You can also limit the characters allowed in the field so they will not be able to enter the whole url. Perhaps that will be enough of a hint to them.
__________________
Please do not PM me unless it's personal. General vBulletin or mod questions by PM will be ignored.

Try the vBSEO Demo

Click here for Instant Community
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply
Tags:





Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


A vBSkinworks Design Recoded By vBModder.
All Code Distributed On This Site is © 2006 by it's author.
Search Engine Optimization by vBSEO 3.1.0

All times are GMT -7. The time now is 04:24 PM.
Online Users 51
Registered 2
Guests 49
Members 3155
Active Members 215
Threads 1601
Posts 7018
Top poster: Code Monkey (2194)
Welcome to our newest member, Ciggy
Most users ever online was 235, 04-11-2007 at 08:59 AM.
Speak Out! vBulletin gets the web talking!


vBulletin Setup SEO

vBulletin graphics resource images