vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Forum Home Enhancements - UKBL ~ FaceBook profile link on Postbit (https://vborg.vbsupport.ru/showthread.php?t=208147)

UKBusinessLive 03-16-2009 11:24 PM

Quote:

Originally Posted by Red-Devil (Post 1770046)
I was going to try this however the line to search for doesnt exist.

Code:

<if condition="$post['joindate']"><div class="postbit">$vbphrase[join_date]: $post[joindate]</div></if>
Is this compatible with (vBulletin 3.8.1 Patch Level 1)

or maybe been changed?

Is what compatible with 3.8.1 the hack or the above code??

The Hack Should be, I'm not sure what your trying to do with that condidtional?

RedDevil 03-16-2009 11:29 PM

Quote:

Originally Posted by UKBusinessLive (Post 1770057)
Is what compatible with 3.8.1 the hack or the above code??

The Hack Should be, I'm not sure what your trying to do with that condidtional?


I was trying to find it in the postbit template, its ok found it its broken into 2 lines made it more challenging to find lol.

cant get it to display will have to mess about not over good at codeing :)

RedDevil 03-16-2009 11:46 PM

Nice got it working, after a bit of trial and error works better for me place above $template_hook[postbit_userinfo_right] as where your code said it messed up the side display.


It would be nice to be able to have it inline with the msn aim etc if possible, but its ok now.

https://vborg.vbsupport.ru/

UKBusinessLive 03-17-2009 05:15 PM

Quote:

Originally Posted by Red-Devil (Post 1770075)
Nice got it working, after a bit of trial and error works better for me place above $template_hook[postbit_userinfo_right] as where your code said it messed up the side display.


It would be nice to be able to have it in line with the msn aim etc if possible, but its ok now.

http://www.vrbforums.co.uk/pics/fbook.jpg

Try and move it further down the postbit code or add it after the other icons and see???

Sometimes Postbits are heavily modified and its a bit of a job to keep everyone happy ;)

Glad you enjoy it though

:D

010081 03-18-2009 06:54 PM

nice mod thankx for sharing

trotskid 03-19-2009 01:26 PM

Quote:

Originally Posted by UKBusinessLive (Post 1769838)
Did you manage to move your icon Trotskid ?? :)

Finally! And looks great ;)

https://vborg.vbsupport.ru/

Just followed by the last icon:

....$post[skypeicon]<if condition="is_member_of($bbuserinfo, 6, 5, 10,.......

Greetings

UKBusinessLive 03-19-2009 05:35 PM

Quote:

Originally Posted by trotskid (Post 1771822)
Finally! And looks great ;)

https://vborg.vbsupport.ru/

Just followed by the last icon:

....$post[skypeicon]<if condition="is_member_of($bbuserinfo, 6, 5, 10,.......

Greetings

Nice :D

RedDevil 03-21-2009 04:40 PM

Quote:

Originally Posted by trotskid (Post 1771822)
Finally! And looks great ;)

http://img14.imageshack.us/img14/8951/33533817.jpg

Just followed by the last icon:

....$post[skypeicon]<if condition="is_member_of($bbuserinfo, 6, 5, 10,.......

Greetings

cheers :)

down.low 03-25-2009 12:33 PM

I'm a 3.8.1 user
|
This code doesn't work:
Code:

<if condition="is_member_of($bbuserinfo, 6, 7, 9)">
<if condition="$post['field11']">
<a href="http://www.facebook.com/home.php/#/profile.php?id=$post[field11]&ref=profile">
<img alt="My Facebook" border="0" src="http://www.yourforum.com/images/misc/facebook.png" border="0"/>
</if></if>

|
It's missing a </a>

Has an extra border="0"

Why URL for href?
|
|
|
If you'd like to get you're facebook icon here:
|

https://vborg.vbsupport.ru/

|
|

First, upload https://vborg.vbsupport.ru/ to your server in this directory: images/misc/

Then edit postbit_legacy and look for this string:

Code:

<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if>
|
|

Below it add this string after changing both ?? to your field number:
Code:

<if condition="$show['member']">
<if condition="$post['field??']">
<a href="http://www.facebook.com/home.php/#/profile.php?id=$post[field??]&ref=profile">
<img alt="Facebook" src="images/misc/facebook.png" border="0"/></a>
</if></if>

|
Save the template and you're done.
|

RedHacker 03-25-2009 05:39 PM

<if condition="is_member_of($bbuserinfo, 6, 7, 9)">

In there what put...?

My team members or my team members who dont show facebook ID....?


All times are GMT. The time now is 11:23 PM.

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.01079 seconds
  • Memory Usage 1,750KB
  • 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_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete