vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Hi (https://vborg.vbsupport.ru/showthread.php?t=135288)

mindgrinder 01-02-2007 02:35 AM

Hi
 
Hi,

at my forum www.iyogiforum.com http://iyogiforum.com/forum/showthread.php?t=3 (username: test, pass: 12345) i have added a signature with HTML link to my bitwine profile
http://bitwine.com/advisors/anuj

i want a mod, which can create a field in user profile like MSN, ICQ etc. the person should be able to paste the html link in there profile. and an icon for bitwine appears on postbits, like MSN or Skype icon after putting them in profile.

I hope you understand, can anything be done about this?

itsid 01-02-2007 02:52 AM

Well easiest way is to create a new field

remember the fieldid (let's guess it is five)
and then add this:
PHP Code:

<if condition="$post['field5'] !=''">
<
a href="http://bitwine.com/advisors/$post['field5']"><img src="the_bitwine.gif"></a><br /></if> 

or what ever the correct link should look like
(to prevent misuse, it's better to use PCRE (regular expressions) ;))

to postbit AND postbit_legacy somewhere below the avatar... like
after:
PHP Code:

$vbphrase[posts]: $post[posts

or to get closer to aim/skypeicons find this
PHP Code:

<div>$post[icqicon$post[aimicon$post[msnicon$post[yahooicon$post[skypeicon]</div

and make it
PHP Code:


<div>$post[icqicon$post[aimicon$post[msnicon$post[yahooicon$post[skypeicon] <if condition="$post['field5'] !=''"><a href="http://bitwine.com/advisors/$post['field5']"><img src="the_bitwine.gif"></a></if></div


'sid

mindgrinder 01-02-2007 08:28 AM

thanks :D


All times are GMT. The time now is 07:31 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
  • Page Generation 0.02377 seconds
  • Memory Usage 1,723KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete