vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Usergroup image (https://vborg.vbsupport.ru/showthread.php?t=202070)

King Justice 01-17-2009 02:29 AM

Usergroup image
 
Hello...

Where/what template do I edit to move a usergroup image ?
Like a usergroup image right now is above the rank image and I want it below, please help, thank you.

Lynne 01-17-2009 02:56 AM

If you are talking about in a thread, then most likely the postbit or postbit_legacy template. You may find the template by doing this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code.

King Justice 01-17-2009 03:02 AM

Yes I see it but I don't know what the hook is for usergroup image display...this is an icon we're using for our paid membership program but I do not see where it is placed or what the code is, please help.

Lynne 01-17-2009 03:23 AM

I'm not sure what usergroup image you are talking about, but I do know the rank code:

HTML Code:

                <if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
So, find that code and since you say the usergroup code is above there, take the code above that line and move it to below that line. (My postbit code shows the usertitle being above that line, so I'm guessing you have custom code.)

King Justice 01-17-2009 04:50 PM

I don't have any custom code...just an image for the paid usergroup...and I cannot find the hook for it. :o :(

Lynne 01-17-2009 04:54 PM

What do you mean find the hook? Post your code around the rank line I posted above. You said this image is right above the rank image, so is the code there or not? Maybe post an image of what you have and then post your template code lines for it.

King Justice 01-17-2009 11:14 PM

Here's a screenshot of the problem:
Complication with Image Thumbnail on vBulletin.org
Free Fast Image Hosting by ImageSpace.us

I'm sorry Lynne but I don't understand the rest of what you're asking me...I can't find the code(s)...ugh this is so frustrating. :(

For some reason you can see in the above image one usergroup has the usergroup image below their rank but the other usergroup (which are mods, super mods, and admin) have the image above their rank...I want it below the rank image. :'(

Lynne 01-17-2009 11:26 PM

You are talking about the blue bar or the thing that says Subscriber? Are you sure they aren't both ranks of some sort?

Did you look in your postbit for the code I posted? It would be helpful if you could find it and then post about five lines above it to five lines below it.

King Justice 01-17-2009 11:50 PM

The subscriber image is obviously the paid usergroup image.. :p
I'll try and look at the code but I'm not sure what I'm supposed to find. :( *cry*

King Justice 01-20-2009 11:12 PM

Please help me find what code I'm looking for..? :o


All times are GMT. The time now is 08:15 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.01149 seconds
  • Memory Usage 1,730KB
  • 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
  • (1)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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