![]() |
Quote:
|
Quote:
https://vborg.vbsupport.ru/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? |
Is there any way to make this work for fields in the postbit?
Thanks! |
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? |
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&e xactname=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. |
you should prolly read the End User section here...
https://vborg.vbsupport.ru/showthread.php?t=92953 |
Quote:
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... |
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? |
How would I get it to parse [img] tags as well?
|
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.
|
All times are GMT. The time now is 04:12 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|