View Full Version : Parse BBCode in Custom Profile Fields
ImportPassion
21 Dec 2005, 18:56
Why? Cause I think this should be the norm and others in this thread seem to want it. http://www.vbulletin.org/forum/showthread.php?t=101248
Be nice to also have WYSIWYG on the textareas, but that's another hack.
There are 2 versions of this.
The first one, product-parse_bbcode_in_profile_1.1.xml, is for anyone that does not have the MySpace style profile template hack installed. You can find that hack here http://www.vbulletin.org/forum/showthread.php?t=101248
The second, product-myspace_style_profile_version.xml, is for users that are using that template hack.
INSTALLATION:
Install the Product and that's it. Will install 1 new plugin. I tested as best I can, but see what happens. Can't provide 100% support, but I will see what I can do.
For non-MySpace profile template users, some options:
--------------------------------------------------------------------------
Optionally remove some code.
http://www.vbulletin.org/forum/showpost.php?p=856284&postcount=18
--------------------------------------------------------------------------
If you only want certain fields, put this code for EACH fieldx u want parsed in member_customfields hook location.
http://www.vbulletin.org/forum/showpost.php?p=856285&postcount=19
--------------------------------------------------------------------------
If you did this code change for 1.01, u can now remove it as it is not needed for 1.1.
v.1.01 Code Change
in admincp/profilefield.php find
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
add above that
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
end 1.01 code change
####################################################
Non-MySpace template hack
v.1.00 - Original Release
v.1.01 - Update to fix some weird issue in admincp when going to profile field manager.
v.1.1 - re-written - totally works. :o
MySpace Template hack version:
1.0 - Original release.
Kihon Kata
21 Dec 2005, 20:13
w00t! im first. pee pee now
ImportPassion
21 Dec 2005, 20:17
seems there is a small bug when u go to the profile fields manager. Looking into it.
ImportPassion
21 Dec 2005, 22:35
Updated the XML and added a code change, for now. Will try to get away from that in next release.
msimplay
22 Dec 2005, 01:16
Be nice to also have WYSIWYG on the textareas, but that's another hack.
Can you make this too ? :D
ImportPassion
22 Dec 2005, 06:13
ya, i may look into it.
Kihon Kata
22 Dec 2005, 07:21
w00t! im first. pee pee now
This is strange. I installed it and used things like [ b] and [ /b], but then when I 'rededit' the usercp, it sets them to <b> and </b>
What is thatall about?
msimplay
22 Dec 2005, 12:58
Yeah i'm getting the same too the bbcode is not getting converted back to bbcode instead its being left as html
Kihon Kata
23 Dec 2005, 02:52
Yeah i'm getting the same too the bbcode is not getting converted back to bbcode instead its being left as html
Bump? Is someone going to fix the problem?
ImportPassion
24 Dec 2005, 05:21
sorry. was building new puter and had no access.
anyway, I will check it out.
Kihon Kata
24 Dec 2005, 05:24
sorry. was building new puter and had no access.
anyway, I will check it out.
Yes please :)
Wordplay
24 Dec 2005, 12:45
uninstalled it because of that bug.
is there anyway to whip up a background bbcode?
Lizard King
24 Dec 2005, 13:08
If anyone needs this for custom profile fields just add a plugin with the following content :
hook location : member_complete
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Change field2 to suit your needs.
Kihon Kata
24 Dec 2005, 16:12
If anyone needs this for custom profile fields just add a plugin with the following content :
hook location : member_complete
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Change field2 to suit your needs.
Lizardking:
I modded my profile field #1 and it didn't work:
Is this correct?
http://www.makeuptalk.com/images/temp/bbcode.gif
ImportPassion
24 Dec 2005, 18:20
you have to add a plugin for each field. thats kinda nasty if you have like 20+
ImportPassion
24 Dec 2005, 19:12
Ok, I updated the Plugin. It is all rewritten and in a different hook location.
Kihon Kata
24 Dec 2005, 19:15
you have to add a plugin for each field. thats kinda nasty if you have like 20+
But what if I only want it to work for ONE field?
ImportPassion
24 Dec 2005, 19:16
i u want to, u can remove this section from the plugin as it seems it is not necessary. But won't hurt or slow down if you keep it in there.
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
ImportPassion
24 Dec 2005, 19:18
But what if I only want it to work for ONE field?
try this
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
in the same hook location
ImportPassion
24 Dec 2005, 19:26
@TonysDesigns: I updated the code above
Kihon Kata
24 Dec 2005, 21:48
@TonysDesigns: I updated the code above
Well first of all, I updated the product to 1.1 and that didn't work for me.
I mean, [ b ]testing....[ /b ](spaces removed) is bbcode right? If so, it's not working for me
Also do I add this hook also?
if($profilefieldname == "field1")
{
$profilefield['value'] = $bbcode_parser->parse($userinfo["$profilefieldname"],0, true);
}
I tried with and without the hook added. Can you help me to get this to work?
PS: You need to update the <version>1.0</version> to <version>1.1</version> in the XML.
Lizard King
25 Dec 2005, 01:50
Lizardking:
I modded my profile field #1 and it didn't work:
Is this correct?
http://www.makeuptalk.com/images/temp/bbcode.gif
Yes it is true. Can you paste your html code so let me check that.
you have to add a plugin for each field. thats kinda nasty if you have like 20+
You can add multiple field names in same plugin :) But yes your code is also another solution
ImportPassion
25 Dec 2005, 04:36
Well first of all, I updated the product to 1.1 and that didn't work for me.
I mean, [ b ]testing....[ /b ](spaces removed) is bbcode right? If so, it's not working for me
Also do I add this hook also?
I tried with and without the hook added. Can you help me to get this to work?
PS: You need to update the <version>1.0</version> to <version>1.1</version> in the XML.
I fixed the version. thx.
ok, so, if u ONLY want the ONE field, then edit the plugin remove the existing code and paste the new code I posted for you above. I did not try the one I made for you, but it should work. But I know the Product I created is working fine.
EDIT: Make sure you replce "field1" with the appropriate field number you are using. I believe it was field2.
Kihon Kata
25 Dec 2005, 04:48
I fixed the version. thx.
ok, so, if u ONLY want the ONE field, then edit the plugin remove the existing code and paste the new code I posted for you above. I did not try the one I made for you, but it should work. But I know the Product I created is working fine.
EDIT: Make sure you replce "field1" with the appropriate field number you are using. I believe it was field2.
so if I just add the product and do NO other modification, it will allow bbcode in all fields?
Would it make a dirfference if I have added this mod here? http://www.vbulletin.org/forum/showthread.php?t=101248
Cuz I did.
ImportPassion
25 Dec 2005, 04:54
so if I just add the product and do NO other modification, it will allow bbcode in all fields?
Correct
Would it make a dirfference if I have added this mod here? http://www.vbulletin.org/forum/showthread.php?t=101248
Cuz I did.
No difference at all since that is not a code mode, just template mod.
Kihon Kata
25 Dec 2005, 04:55
Yes it is true. Can you paste your html code so let me check that.
You can add multiple field names in same plugin :) But yes your code is also another solution
Lizard, which HTML code? To you mean the HTML in the member profile template?
Kihon Kata
25 Dec 2005, 05:00
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
[/b][/size][/font][/b]
Lizard King
25 Dec 2005, 05:28
It is strange did you add for each field as i mentioned ? Because it is working for mine.
Kihon Kata
25 Dec 2005, 05:37
Correct
No difference at all since that is not a code mode, just template mod.
7th: all I have installed is this product and when I add bbcode, it doesn't work. :/
I tried to add [ b ] testing [ /b ] and no workie
Lizard: Not yet, I am trying to get it to work like it's supposed to first. Should I?
Lizard King
25 Dec 2005, 05:45
Lizard: Not yet, I am trying to get it to work like it's supposed to first. Should I?
Yes you need to add for each field. Check this one which i have in profile (http://www.ayyas.com/member.php?u=4)
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
As you can see you have to add the same parser for each field.
Kihon Kata
25 Dec 2005, 05:48
Yes you need to add for each field. Check this one which i have in profile (http://www.ayyas.com/member.php?u=4)
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
As you can see you have to add the same parser for each field.
Ohhh ok, let me try that.
Exitilus
25 Dec 2005, 22:38
Ok I'm a bit confused. I was looking for this. Well I installed the plugin ... But it doesn't work :wataf .. looked through and I don't see any other configuration or setup needed to get this working. So am I missing something?
ImportPassion
26 Dec 2005, 01:22
well, it's a product, not just a plugin. although it adds the plugin, and yes, that is all that is needed since all it is is one line of code. Ignore all the stuff from Lizard, my thread got jacked. It does work as it is working on mine. Make sure the hook location is member_customfields.
I registered on your forum and went and edited my profile and then looked at my profile, but it says I don't have permission. Also, all your debug code is showing.
EDIT: Do you have any other plugins using the same hook location? member_customfields
ImportPassion
26 Dec 2005, 01:24
Just an FYI for Lizard and Tony, u don't need to put this line for each one...
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
it's a huge waste. Put it once at the top and that's it, done. if you even need it at all, cause my Product doesn't.
Exitilus
26 Dec 2005, 01:28
well, it's a product, not just a plugin. although it adds the plugin, and yes, that is all that is needed since all it is is one line of code. Ignore all the stuff from Lizard, my thread got jacked. It does work as it is working on mine. Make sure the hook location is member_customfields.
I registered on your forum and went and edited my profile and then looked at my profile, but it says I don't have permission. Also, all your debug code is showing.
I verified it is member_customfields.
I also went through and activated your account :) most likely the access denied thing :)
ImportPassion
26 Dec 2005, 01:31
I verified it is member_customfields.
I also went through and activated your account :) most likely the access denied thing :)
I edited my message above, but do you have any other plugins using the same hook location?
ImportPassion
26 Dec 2005, 01:33
would u mind giving me admin access to check it out? I went as far as to remove mine and install the one here and it still works for me.
Exitilus
26 Dec 2005, 01:41
We have a plugin thing that puts all the plugins / products together. Just looked through a couple times and I don't see anything using that specific field
Will this work on 3.5 RC 3?
ImportPassion
26 Dec 2005, 01:50
no idea, won't hurt to try as long as that hook location exists. But surely no one is still using an RC release?
ImportPassion
26 Dec 2005, 01:55
i just tried it on my other forum 3.5.1 and it worked again no problem.
Exitilus
26 Dec 2005, 01:58
Hrmm Odd ... I dunno why it won't work :|
Maybe try re-adding it?
ImportPassion
26 Dec 2005, 02:15
uninstall first. take a screen of the plugin page if u can so i can see it.
MissKalunji
26 Dec 2005, 04:41
can someone show me what this does?
thanks
Lizard King
26 Dec 2005, 04:53
can someone show me what this does?
thanks
It allows you to use bbcode in custom user profiles.
MissKalunji
26 Dec 2005, 05:24
It allows you to use bbcode in custom user profiles.
can i see a demo?
Lizard King
26 Dec 2005, 05:58
can i see a demo?
i dont use this hack but check in http://www.ayyas.com/member.php?u=4 there are bbcodes inside custom profile fields. this hack makes the same thing.
MissKalunji
26 Dec 2005, 06:11
i dont use this hack but check in http://www.ayyas.com/member.php?u=4 there are bbcodes inside custom profile fields. this hack makes the same thing.
:-/ ok thx
evenmonkeys
27 Dec 2005, 02:57
It doesn't seem to be working for me. Are there settings I need to adjust?
ImportPassion
27 Dec 2005, 04:50
if u r using the Myspace Style Profile template hack, then it doesn't work since the vars are being spit out differently. I am working on that now.
evenmonkeys
27 Dec 2005, 04:58
Ohhhh. I just modified the template. I didn't upload plug-ins or anything. It's all just template changes. I assume that's still different. Also... is it possible to allow for certain fields to be parsed and certain fields not to be parsed? Like... add an option to "Add New Field" and have it say "Allow" or "Not Allow"... Just a suggestion.
ImportPassion
27 Dec 2005, 04:59
maybe at some point, just want to get it working with that template mod first.
Kihon Kata
27 Dec 2005, 05:48
maybe at some point, just want to get it working with that template mod first.
Yes you have. I wanted to popin and PERSONALLY thank you very much for doing this AND taking the time to fix my site with over 225,000 posts.
Thanks again for taking the time Derek!
Great mod. Anyone have any idea why it turns < and > into < and >
MissKalunji
28 Dec 2005, 12:13
You know what woudl be cool..........having the bbcode bar (like in threads) to show also not everyone knows the bbcodes by heart
EricaJoy
28 Dec 2005, 13:18
You know what woudl be cool..........having the bbcode bar (like in threads) to show also not everyone knows the bbcodes by heartor maybe a link to bring up a pop up box with the bbcode info in it?
MissKalunji
28 Dec 2005, 14:50
or maybe a link to bring up a pop up box with the bbcode info in it?
yeah would be good too
99SIVTEC
28 Dec 2005, 20:35
I can't for the life of me get this to work. Tried adding the code manually, tried the code posted earlier in the thread, and tried the plugins. I have nothing else around the hook location, and no other plugins using that hook location.
Exitilus
28 Dec 2005, 21:06
Aww that explains why it wasn't working with me. I have that updated profile thing installed :) I will keep a very close eye on this! i'm really hoping to see this working soon!!!
Exitilus
28 Dec 2005, 21:20
haha nm noticed my e-mail and when i checked the thread it has been updated. I will give it a try! :)
Exitilus
28 Dec 2005, 21:26
Works beautiful!
Annie^.^
30 Dec 2005, 19:34
Great Job!!
wolfstream
31 Dec 2005, 01:24
Only problem I see with this (so far):
This is parsing the fields just dandy in the profile itself, but when it comes to postbit, I see:
Location: color=blueWaterloo, IA/color
instead of
Location: Waterloo, IA
Any idea what I'm missing there? (yes, I deliberately took the tags out of the first color bit to prevent it from showing up as an actual color.
Sychev_S
31 Dec 2005, 03:08
or maybe a link to bring up a pop up box with the bbcode info in it?
:squareeyed: that would be awesome
msimplay
01 Jan 2006, 14:05
hmm problem again quotes are turning from " to "
ImportPassion
01 Jan 2006, 15:32
ya, i posted about that on vb.com, but no reply. not sure why that is happening.
Oreamnos
04 Jan 2006, 02:20
First of all, i installed the plugin and it worked beautifully on 3.5.2.
i have 2 questions:
What can I change so that it automatically turns any URL into a link? I don't want users to have to use BBCode.
Any luck with the quotes issue?
Thanks!
eric
MissKalunji
16 Jan 2006, 02:26
Okay how can i exclude a field?
example i want all the field to have bbcode but the css field....
how can i do that?
ImportPassion
16 Jan 2006, 04:40
u could do something like this
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
replace field2 with ur css field #
not tested, but give it a shot.
MThornback
16 Jan 2006, 05:29
Would you be willing to change this so that it parses signatures? Namely Admin Signatures.... :) my attempts at it are failig miserably and angering my includes folder :p
ImportPassion
16 Jan 2006, 05:34
Would you be willing to change this so that it parses signatures? Namely Admin Signatures.... :) my attempts at it are failig miserably and angering my includes folder :p
I don't get it? Sigs already get parsed when you use bbcode in them. I believe it may be an option you have to turn on tho.
MThornback
16 Jan 2006, 05:43
I don't get it? Sigs already get parsed when you use bbcode in them. I believe it may be an option you have to turn on tho.
Not what I meant, sorry threw you a curve :p
http://www.vbulletin.org/forum/showthread.php?t=81895
This hack parsed certian BB like: $bbuserinfo[username] : Username of the visitor
Its never been ported...and judging by your code, it looks like a stones throw from what would be needed to port it....I was just wondering if you'd modify your code to make it similar to what we had available to 3.0.7?
trackpads
18 Jan 2006, 00:31
Is there any way to make this work for fields in the postbit?
Thanks!
Detomah
30 Jan 2006, 09:35
I don't think I am doing anything wrong, the code works fine and I now have bbcode working fine in my profile fields, so that's a good start...
However...
Is it just me or do [ quote] [ code] [ html] type tags muck the tables up for anyone else?
If it's not just me, would there be any way to make it so that only certain bbcodes function in profile fields?
cartooner
31 Jan 2006, 16:36
I'm using this hack from on MEMBERINFO template..from HR3rdGen.
and this is the template..
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $vbphrase[view_profile]: $userinfo[username]</title>
</head>
<body>
$header
$navbar
<!-- main info - avatar, profilepic etc. -->
<table border="0" width="100%" align="center" cellspacing="0" cellpadding="0">
<tr>
<td width="64%" valign="top">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr bgcolor="#919EBA">
<td class="tcat" colspan="4" valign="top"> <b>Profile page
for: <b>$userinfo[musername], $userinfo[usertitle] $userinfo[onlinestatus]
</b></b></td>
</tr>
<tr> <if condition="$show['avatar']">
<td class="panelsurround" width="15%">
<div align="center"><img src="$userinfo[avatarurl]" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none"
/></div>
</td>
<else />
<td> </td>
</if>
<td class="panelsurround" width="42%" valign="top">
<p><b>Gender:</b> $userinfo[field7]<br>
<b>Age: </b>$userinfo[age]<b></b> <br>
<b>Orientation: </b>$userinfo[field13]<br>
<b>Astrology:</b> $userinfo[field6]</p>
</td>
<td class="panelsurround" width="42%" valign="top">
<b>Member Since:</b> $userinfo[datejoined]<br>
<b>Location:</b> $userinfo[field2]<br>
<b>Referrals:</b> $referrals<br>
<b>Reputation:</b> $userinfo[reputationdisplay]</td>
</tr>
</table>
<br>
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr valign="top">
<td class="tcat"> Bio:</td>
</tr>
<tr valign="top">
<td class="panelsurround">
<p>$userinfo[field1]</p>
</td>
</tr>
</table>
<br>
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr valign="top">
<td class="tcat" bgcolor="#919EBA">Favorite Music:</td>
</tr>
<tr valign="top">
<td class="panelsurround">
<p>$userinfo[field5]</p>
</td>
</tr>
</table>
<br>
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr valign="top">
<td class="tcat" bgcolor="#919EBA">Favorite Movies:</td>
</tr>
<tr valign="top">
<td class="panelsurround">
<p>$userinfo[field6]</p>
</td>
</tr>
</table>
<br>
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="60%">
<tr valign="top">
<td class="tcat" bgcolor="#919EBA">About Me:</td>
</tr>
<tr valign="top">
<td class="panelsurround"> $userinfo[field7]</td>
</tr>
</table>
</td>
<td valign="top"> </td>
<td width="34%" valign="top">
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat">My Favorite Links:</td>
</tr>
<tr>
<td class="panelsurround">
<p>$userinfo[field11]</p>
</td>
</tr>
<tr>
<td class="tcat">Forum Stats:</td>
</tr>
<tr>
<td class="panelsurround">$vbphrase[total_posts]: <strong>$userinfo[posts]</strong>
(<phrase 1="$postsperday">$vbphrase[x_posts_per_day]</phrase>)<br>
<a href="search.php?$session[sessionurl]do=finduser&u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[find_all_posts_by_x]</phrase></a><br>
<a href="search.php?$session[sessionurl]do=process&showposts=0&starteronly=1&exactname=1&searchuser=$userinfo[urlusername]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[find_all_threads_started_by_x]</phrase></a><br>
<if condition="$show['lastactivity']">
<div>$vbphrase[last_activity]: $userinfo[lastactivitydate] <span class="time">$userinfo[lastactivitytime]</span> </div>
</if> <if condition="$show['currentlocation']">
<div>$userinfo[action] $userinfo[where]<if condition="$show['detailedtime']">
- <else /> @ </if> $userinfo[time] </div>
</if></td>
</tr>
<tr>
<td class="tcat">My contact info:</td>
</tr>
<tr>
<td class="panelsurround"><if condition="$show['addbuddylist']"> <a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[add_x_to_buddy_list]</phrase></a><else />
<a href="profile.php?$session[sessionurl]do=removelist&userlist=buddy&u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[remove_x_from_your_buddylist]</phrase></a>
</if><br><if condition="$show['addignorelist']"> <a href="profile.php?$session[sessionurl]do=addlist&userlist=ignore&u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[add_x_to_ignore_list]</phrase></a>
<else /> <a href="profile.php?$session[sessionurl]do=removelist&userlist=ignore&u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[remove_x_from_your_ignorelist]</phrase></a>
</if><br>
<a href="private.php?$session[sessionurl]do=newpm&u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[send_private_message_to_x]</phrase></a><br>
<a href="sendmessage.php?$session[sessionurl]do=mailmember&u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[send_message_via_email_to_x]</phrase></a></td>
</tr>
<tr>
<td class="panelsurround">
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<if condition="$show['textimicons']"> <if condition="$userinfo['showicq']">
<tr>
<td>$vbphrase[icq]
<td>
<td>$userinfo[icq]</td>
</tr>
</if> <if condition="$userinfo['showaim']">
<tr>
<td>$vbphrase[aim]
<td>
<td>$userinfo[aim]</td>
</tr>
</if> <if condition="$userinfo['showmsn']">
<tr>
<td>$vbphrase[msn]
<td>
<td>$userinfo[msn]</td>
</tr>
</if> <if condition="$userinfo['showyahoo']">
<tr>
<td>$vbphrase[yahoo]
<td>
<td>$userinfo[yahoo]</td>
</tr>
</if> <else /> <if condition="$userinfo['showicq']">
<tr>
<td>$userinfo[icqicon]</td>
<td><a href="#" dir="ltr" onClick="imwindow('icq', '$userinfo[userid]', 500, 450); return false;">$userinfo[icq]</a></td>
</tr>
</if> <if condition="$userinfo['showaim']">
<tr>
<td>$userinfo[aimicon]</td>
<td><a href="#" dir="ltr" onClick="imwindow('aim', '$userinfo[userid]', 400, 200); return false;">$userinfo[aim]</a></td>
</tr>
</if> <if condition="$userinfo['showmsn']">
<tr>
<td>$userinfo[msnicon]</td>
<td><a href="#" dir="ltr" onClick="imwindow('msn', '$userinfo[userid]', 400, 200); return false;">$userinfo[msn]</a></td>
</tr>
</if> <if condition="$userinfo['showyahoo']">
<tr>
<td>$userinfo[yahooicon]</td>
<td><a href="#" dir="ltr" onClick="imwindow('yahoo', '$userinfo[userid]', 400, 200); return false;">$userinfo[yahoo]</a></td>
</tr>
</if> </if>
</table>
</td>
</tr>
<tr>
<td class="tcat">My Groups:</td>
</tr>
<tr>
<td class="panelsurround">
<table cellpadding="0" cellspacing="$stylevar[formspacer]px" border="0">
<tr> <if condition="$show['membergroups']">
<td></td>
<else />
<td><strong><phrase 1="$userinfo[username]">$vbphrase[x_is_not_a_member_of_any_public_groups]</phrase></strong></td>
</if> </tr>
$membergroupbits
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<if condition="$profileimagebits">
<br><table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat" colspan="5"><a href="/gallery/browseimages.php?do=member&imageuser=$userinfo[userid]" title="View My Gallery">$userinfo[username]'s Latest Gallery Submissions</a>
</td>
</tr>
<tr>$profileimagebits</tr>
</table>
<br />
</if>
$footer
</body>
</html>
I'm new to this, so if I sound dumb please forgive me. I've learned quite a bit though running my Forum.
All I need to know right now is a more detailed instructions to install this plug-in. Do I upload to my includes/xml folder??
I'm using *default* style to work with this, and so far I have everything set for Profile Page improvements except this.
ImportPassion
31 Jan 2006, 16:58
you should prolly read the End User section here...
http://www.vbulletin.org/forum/showthread.php?t=92953
cartooner
31 Jan 2006, 17:57
you should prolly read the End User section here...
http://www.vbulletin.org/forum/showthread.php?t=92953
OK..I read it..
End-Users
Go to ACP / Plugin System / Manage Products.
Click Add/Import Product, select the product XML File for the Hack you want to install.
If you are upgrading an existing Hack, make sure that Allow Overwrite is set to Yes
This How-To is (C) 2005 by KirbyDE and you are not allowed to redistribute it in any way without my explicit consent.
..when I go to download product my space style version.xml It opens the file.
so what do I do, copy paste the code into notepad and save.
I'm sorry for asking questions that might seem so stupid...
jluerken
29 Mar 2006, 12:49
I edited the ABOUT ME text on my page after installing this product but BBCodes or Line Breaks are not working for me.
Any idea?
Aitsukai
14 Apr 2006, 06:11
How would I get it to parse [img] tags as well?
shadowdancer36
19 Apr 2006, 22:45
Sorry I'm a newbie here. What does this hack do again? Any screen shots? I'm thinking it allows u to use the editor to enter page changes, but I might be wrong.
wichall
11 Jun 2006, 18:02
How do i parse the bbcode in the box that this hack: http://www.vbulletin.org/forum/showthread.php?t=98282& gives you
lilfields
12 Jun 2006, 22:19
I am parsing BB code correctly within the profile, but not within posts (side location field)...as I have a BB URL in the location field linked to vBgooglemap locations
How would I go about making it parse and not just showing the code? I'm not sure if I made this clear enough to understand but I'll post a screenie if needed.
futuredood
23 Jun 2006, 13:28
this is very strange, i had installed this properly and everything was working good.. and then all of the sudden it stopped working. nothing is more frustrating then when something is working and stops for no reason =(.
i originally installed this hack, deactivated it, and installed this code so that only one field was working (which worked fine):
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Then, I had made one change to my memberinfo template, and then it stopped working. I un-do'ed the change, resubmitted it, and it still didn't work.
I've also tried allowing bbcode throughout my memberinfo, but still to no avail.
Please advise..
futuredood
25 Jun 2006, 07:08
turns out that if you turn of vb sigs, some things act up.. just to note
marksyzm
30 Dec 2006, 12:26
How would I get it to parse [img] tags as well?
Where you see:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Change the '0' to a '1'
BlackxRam
09 Mar 2007, 11:37
This mod doesnt seem to work if you have a custom Profile Page. I reverted my template to default, and this mod worked... I added my custom Profile Page setup that was created originally on a vb 3.5 forum and updated and the mod doesnt work. Just thought this might help people having trouble.
This hack work with vB 3.6.x ?
This hack work with vB 3.6.x ?
It works with my vB 3.6.5, so yes. I'd apply some changes, though:
hmm problem again quotes are turning from " to "
ya, i posted about that on vb.com, but no reply. not sure why that is happening.
HTML tags are removed from profile fields by default, so you should allow them while parsing the bbcode, otherwise it gets the double htmlspecialchars-treatment which means that " is turned into " and that " is then turned into &quot;.
Also you'd have to use do_parse() instead of parse() (I don't know if it's the same with vB 3.5, I'm using 3.6):
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Chicago_VLNU_4s
12 Mar 2007, 00:36
so will this mod take care of the quotes = ("), & = (&) and the many more parsing errors found with the myspace profiles... because I use the alternative parsing method as ppl are posting in here.
***
Edit: Now that I look above, it seems that this one doesn't fix it either :/
gen.Scorpio
20 Mar 2007, 15:04
Dear keth, im getting crazy!
http://www.vbulletin.org/forum/showthread.php?t=142592
(i moved the post to an area that seems more "correct" than this)
If anyone has a problem this might help them. I fixed upon a bit the code that gen.Scorpio posted. Everything seems to work. From what he posted, when he saw a post of someone with the field filled, it didnt parse the bb code they had in their post. But as I tested it out the fixed up code, everything seems to be fine, no errors. If anyone can improve upon it, go right ahead. Tested on 3.6.8. All you need to do is change the field8 to whatever field you set.
Here is the code.
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Pretty much, all I did was change the last bit of code from $userinfo['field5'] to $profilefield[value] and ($userinfo['field5',true, true); to ($profilefield[value],true, true);.
Detomah
22 Nov 2007, 23:21
In case anyone has been having problems with the other fixes and versions of this...
I've got 3.6.8 installed and the profile pages are pretty heavily customised and none of the above fixes worked properly for me, so in the end I tinkered around with the various bits until I came up with this one which works perfectly for me, so I thought i'd share it in case it could be of use to anyone else:
Just replace the entire contents of the product file with this code, changing the 3 instances of field5 for which ever field you want to parse bbcode in and then do the normal install.
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
What do we do if we want to do more than one profile filed?
Detomah
02 May 2008, 12:47
Gah, I had this working perfectly before updating from 3.6.8 to 3.7 Gold a couple of days ago, now it's stopped working at all.
Anybody have any idea what bits in the code have changed that would mean this doesn't work any more? I dearly need this to work again.
I've tried the CES parser permissions hack which is out there, but that is way too much for what I need and stops more working for me than is practical.
If any pro coders out there have any ideas on this one please help me out, i'm well and trully stuck.
Cerbero1000
16 May 2008, 18:34
Is there a way to have it on vbulletin 3.7?
I think that will be more attractive for members to have images or slideshow in their details...
Thanks
resident1
30 May 2008, 20:36
I need this mod to work too! any coders out there know how to put the WYSIWYG editor and BBCODE into profile fields?
BlackxRam
01 Jun 2008, 20:56
anyone who can get this working?
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.