vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Show Thread Enhancements - eTiKeT? 2011 Posbit_legacy - Postbit (https://vborg.vbsupport.ru/showthread.php?t=274568)

Manoel J?nior 01-04-2015 11:47 PM

Quote:

Originally Posted by Manoel J?nior (Post 2479981)
How to fix:

Attachment 148129

Code:

<div class="etiket_postbit_alanI_userinfo_extra_yazIlarI">
<dd>{vb:raw template_hook.postbit_userinfo_right_after_posts}</dd></div>


I fix:

PHP Code:

<!-- Wy Country Flags Start -->
<
vb:if condition="$post['field5']">
        <
div class="etiket_postbit_alanI_userinfo_extra_yazIlarI">
<
center><img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.field5}.GIF" align="middle" alt="{vb:raw post.field5}" border="" />
          </
center></div>
</
vb:if>
<!-- 
Wy Flags End --> 

OR

PHP Code:

<!-- Wy Country Flags Start -->
<
vb:if condition="$post['field5']">
        <
div class="etiket_postbit_alanI_userinfo_extra_yazIlarI">
Country:        <img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.field5}.GIF" align="middle" alt="{vb:raw post.field5}" border="" />
          </
div>
</
vb:if>
<!-- 
Wy Flags End --> 

Thanks

thetechgenius 01-13-2015 03:01 AM

1 Attachment(s)
I also made a custom Postbit Legacy awhile back, but I never released the code to the public. I like Etiket Postbits though, they are really good.

NOTE: I did not use any code or images from Etiket, its my very own code and images.

If anyone would like to know how I made this postbit, send me a message. If a lot of people start messaging me wanting the postbit, I will just have to release the code on vB.org. But it took me a very long time to get my custom postbit perfect, it took a lot of trial and error, and a lot of testing. So I have the code all over the place, and its a lot of vB code and CSS, its just spread out in so many places. So if I do release it, it will take some time, since I have to gather the CSS and put it in one place. So it will be easier to install for the end-user.

Live Demo (No need to login): https://thetechgenius.net/17-username-changes.html

Here is a screenshot of my custom postbit (check the image attached below):

john7911 01-16-2015 06:10 PM

Hi,
Thank you for the design :)
I have some questions, as you can see in the image below, I want to put the flag in the bottom,
and I have problem with Articles , Version AutoCAD and Blog Entries the numbers are not aligned.
https://vborg.vbsupport.ru/external/2015/01/17.jpg
Thank you ;)

------------ EDIT ----------------
For the Flag it's OK.

Black Snow 01-16-2015 07:59 PM

Quote:

Originally Posted by john7911 (Post 2532830)
Hi,
Thank you for the design :)
I have some questions, as you can see in the image below, I want to put the flag in the bottom,
and I have problem with Articles , Version AutoCAD and Blog Entries the numbers are not aligned.
https://vborg.vbsupport.ru/external/2015/01/17.jpg
Thank you ;)

------------ EDIT ----------------
For the Flag it's OK.

You will need to edit the template(s) for the Articles, blog entries etc.

john7911 01-17-2015 07:04 AM

Quote:

You will need to edit the template(s) for the Articles, blog entries etc.
Thank you Black Snow :)
I don't find Blog Entries and the other info :(
https://vborg.vbsupport.ru/external/2015/01/16.jpg

john7911 01-17-2015 08:38 PM

Is it good what i did?
HTML Code:

<vb:if condition="$post['field10']">
<div class="etiket_postbit_alanI_userinfo_extra_yazIlarI">
  { $template_hook['postbit_userinfo_right_after_posts'] .= '}<dt>{vb:rawphrase 'Version AutoCAD'}</dt> <dd> {vb:raw post.field10}</dd>
</div>
              </vb:if>

I took some code from this one in Edit Plugin

HTML Code:

if ($post['field10'])
{
    $template_hook['postbit_userinfo_right_after_posts'] .= '<dt>Version AutoCAD</dt> <dd>' .$post[field10]. '</dd>';
}

Thank you.

john7911 01-18-2015 12:41 PM

OK I have solved 99%
What I need is Blog Entries. Can anyone help?
I use VB4.2.2
The link:
http://www.faouweb.net/forum/showthr...85-AutoCAD-Arc
Thank you :)

Marcin_J_ 01-19-2015 11:13 AM

Quote:

Originally Posted by john7911 (Post 2533118)
OK I have solved 99%
What I need is Blog Entries. Can anyone help?
I use VB4.2.2
The link:
http://www.faouweb.net/forum/showthr...85-AutoCAD-Arc
Thank you :)

blog_postbit_entries_link

Code:

<div class="etiket_postbit_alanI_userinfo_extra_yazIlarI">
{vb:rawphrase blog_entries}<dd><a href="{vb:link blog, {vb:raw post}, null, 'userid', 'blog_title'}">{vb:raw post.entries}</a></dd>
</div>


john7911 01-20-2015 04:21 AM

Thank you very much Marcin J ;)

Marcin_J_ 01-21-2015 11:33 PM

No problem, regards ;)


All times are GMT. The time now is 11:02 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.01449 seconds
  • Memory Usage 1,760KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_html_printable
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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