View Full Version : Myspace Link in postbit.....
Oddjob
03-19-2006, 04:30 PM
I would like to see some sort of myspace link to your profile displayed in the postbit someplace.....
Brandon Sheley
03-19-2006, 05:00 PM
just add the profile field, and then insert the code in your postbit ;)
Oddjob
03-19-2006, 05:16 PM
just add the profile field, and then insert the code in your postbit ;)
That would require my members using html.............hm not sure about that.
ericgtr
03-19-2006, 11:02 PM
Actually it wouldn't :) Here's how:
In AdminCP go to User Profile Fields > Add New User Profile Field > single lined text box and
Title: Myspace Profile
Description: http://www.myspace.com/username <--- replace with your myspace username
Leave the rest and click on Save at the bottom. Note the field number when you are done (i.e. field5).
Now add it as a condition to your postbit like this:
find something like:
$post[iplogged]
Add this after:
<if condition="$post['field5']"><a target="_blank" href="http://www.myspace.com/$post[field5]">
<img border="0" src="http://www.yoursite.com/images/myspace.jpg" alt="View myspace profile"></a>
</if>
Remember to change field5 to whatever the field number is that you've setup. This will only show for users that have it filled out in their profile. Also, here is the image that I used for this https://vborg.vbsupport.ru/
Oddjob
03-20-2006, 12:57 AM
Actually it wouldn't :) Here's how:
In AdminCP go to User Profile Fields > Add New User Profile Field > single lined text box and
Title: Myspace Profile
Description: http://www.myspace.com/username <--- replace with your myspace username
Leave the rest and click on Save at the bottom. Note the field number when you are done (i.e. field5).
Now add it as a condition to your postbit like this:
find something like:
$post[iplogged]
Add this after:
<if condition="$post['field5']"><div class="info"><a target="_blank" href="http://www.myspace.com/$post[field5]">
<img border="0" src="http://www.yoursite.com/images/myspace.jpg" alt="View myspace profile"></a></div>
</if>
Remember to change field5 to whatever the field number is that you've setup. This will only show for users that have it filled out in their profile. Also, here is the image that I used for this http://www.talkedabout.com/images/myspace.jpg
This worked good, although it made it own column under the reputation, ip icons......how can i have this on the same column as those?
Oddjob
03-20-2006, 02:16 PM
ok, see attached screen shot, maybe that will show you where i want it.
ericgtr
03-20-2006, 08:22 PM
Remove the divs
Oh yeah, good catch. That's calling a custom class, I forgot that I had that in there. :)
Oddjob
03-20-2006, 09:29 PM
Good stuff.
You should make a plugin of this, im sure alot of people would use it.
ericgtr
03-20-2006, 09:31 PM
It's not really a modification as much as it is a configuration. Maybe I'll post it up as a how to. :)
BTW, I removed the div tags from my original post. Thanks for pointing that out RDX1.
hiiped
03-20-2006, 11:48 PM
How to setup a Profile field where the user just enters his/her MySpace username and it autolinks when you view in the profile ?
eg: Jalli99 EDITS his profile and in field: MySpace username, all he enters is his myspace username: Jalli99
when people visits his profile theres a link to his myspace page http://www.myspace.com/Jalill99
so Jalill99 DONT have to enter the http://www.myspace.com during his editing of his profile
?????
edit: I just figured how to do this ;)
Mr Chad
03-21-2006, 12:00 AM
I want to make a myspace addon like AIM
when someone has their myspace ID entered it will show up in the postbit and when someone clicks on it, a pop up (like the aim one) will come up with options: Profile, Pictures, Message, Coomment
Hows this sound?
ericgtr
03-21-2006, 12:40 AM
How to setup a Profile field where the user just enters his/her MySpace username and it autolinks when you view in the profile ?
eg: Jalli99 EDITS his profile and in field: MySpace username, all he enters is his myspace username: Jalli99
when people visits his profile theres a link to his myspace page http://www.myspace.com/Jalill99
so Jalill99 DONT have to enter the http://www.myspace.com during his editing of his profile
?????
edit: I just figured how to do this ;)
That's exactly what this does, all they enter in the profile field is their username at myspace and it will launch directly to their profile on myspace. :)
I want to make a myspace addon like AIM
when someone has their myspace ID entered it will show up in the postbit and when someone clicks on it, a pop up (like the aim one) will come up with options: Profile, Pictures, Message, Coomment
Hows this sound?
Not sure if it will work the same but I will look into it for you when I get some time.
hiiped
03-21-2006, 12:53 AM
That's exactly what this does, all they enter in the profile field is their username at myspace and it will launch directly to their profile on myspace. :)
.
Thanks
I was overreading and missed some parts of your post :tired:
ended up coming up with the exact code as you. LOL
didnt even see that you gave instructions to post in postbit as I was focused on adding it to MEMBERINFO ( profile view ) .
LOL
great work mate
thanks again
I want to make a myspace addon like AIM
when someone has their myspace ID entered it will show up in the postbit and when someone clicks on it, a pop up (like the aim one) will come up with options: Profile, Pictures, Message, Coomment
Hows this sound?
tried >>> Profile Fields in Postbits (https://vborg.vbsupport.ru/showthread.php?t=108344) <<<< ????
Mr Chad
03-21-2006, 01:37 AM
That's exactly what this does, all they enter in the profile field is their username at myspace and it will launch directly to their profile on myspace. :)
Not sure if it will work the same but I will look into it for you when I get some time.
yea but i would rather come up with a menu indirectly.
Here i just released it...
https://vborg.vbsupport.ru/showthread.php?t=110954
This is great I placed my icon next to the aim!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.