vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Profile Enhancements - Customizable Roster (Member List) (https://vborg.vbsupport.ru/showthread.php?t=141311)

m002.p 03-26-2007 02:35 PM

I have tried removing forum, but the directory "images" is within it, so its needed in order to display.

May I ask, why are you not so keen on images in this hack?

I mean your hack is brilliant but I wanted to add the IM icons and an xfire icon too which of course requires an image as well as makes it look better than just pure text.

However I would understand the authors wish if so...

EDIT: After including the full link to the image and not including "$post[field10].gif" the image displayed. Any ideas if that code mentioned above is incorrect or is unsupported?

hellbringer80 03-26-2007 03:08 PM

I changed it to orderid, and all it does is put every user in one group and messed it all up =/

m002.p 03-26-2007 04:00 PM

When researching further into this, I believe that a particular variable needs to be customised in the showroster.php file.

Only thing is, looking at the code im not sure where it is located.

Could this be something to do with the other issues above also?

Sarcoth 03-26-2007 05:01 PM

moo2.p - By keen, I didn't mean I wasn't interested in putting images in it. I was hoping to eventually do that as well. I just meant I haven't tried it yet so I didn't know an answer. I'll see what I can find out about the $post variable. I haven't used it before so not sure what it is. Can you tell me another page where it is used?

hellbringer80 - What table is the orderid located in?

m002.p 03-26-2007 05:29 PM

Sorry, I didnt understand properly before. Ok well.. This variable will post a particular field or image so to speak like $post[field10] etc.

The variable is also used in templates such as "postbit_legacy"

Do a search to see the uses, but here are some examples:

$post[musername]
$post[usertitle]
$post[avatarurl]
$post['joindate']
$post[signature]

Hope this helps...

Out of interest, do you have xfire? I would be happy to help you on this one if needed :)

Regards

Matt

hellbringer80 03-26-2007 05:43 PM

orderid is int he groups table

Sarcoth 03-26-2007 06:07 PM

moo2 - NP. Sadly, no chat programs here at work and I really don't use any of them cept for MSN a couple times a week. I rarely have time for them since I'm usually playing Vanguard when I'm at home. :) I need to work today, so not sure I'll get to work on this much more till tomorrow. I'll be sure to check into it though.

hellb - I'm guessing you mean the usergroup table right? Not sure why it isn't working. Can you export your usergroup table (.sql) when you get a chance and send it to me. You can rename it to .txt. I think that will help me figure this out. I'll look into it more today if I get the time else tomorrow.

m002.p 03-26-2007 06:13 PM

Ok no problem Sacroth. Keep me informed on how it goes as I think adding images to it would be a good step for a clan roster.

Thanks for your time

Sarcoth 03-26-2007 06:50 PM

Quote:

Originally Posted by m002.p (Post 1212170)
Hi,

Im having a problem inserting an image into the "showroster_usergroupbit" template.

This is what I enter:

Code:

<td align="center" class="$bgclass" nowrap="nowrap">$user[field10]
<img src="forum/images/flags/$post[field10].gif"></td>

The image doesnt seem to display even when the code works elsewhere.

Can you spot the problem?

Thanks in advance!

Just out of curiousity, what is field10 set to and what's in it?

m002.p 03-26-2007 08:05 PM

field10 is set to the country of a user. Like UK, Germany, France etc

This is linked to a image (.gif) on the server which means using $post[field10].gif will result in it displaying the members country flag on the roster :)


All times are GMT. The time now is 08:01 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.01216 seconds
  • Memory Usage 1,741KB
  • 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_code_printable
  • (1)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