vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Forum Staff like vbulletin.org (https://vborg.vbsupport.ru/showthread.php?t=159439)

StuntFactoryX 10-08-2007 11:02 AM

i wish the chimpanzis would let us in on it. looks sharp and i would direct people to it more if the standard vb wasnt so boring.

DivisionByZero 10-08-2007 11:35 AM

if you guys buckled down and looked at the simple html templates, you could have had this done by now. its THAT easy!

For those of you who don't understand how it works:

The HTML templates are in the admincp under "styles". This particular showgroups.php page uses two templates: a shell and a userbit. the shell template creates the outer layer of the page while the userbit template repeats itself for every user record being listed.

Nickbe 10-08-2007 03:17 PM

I have looked at simple HTML templates and I can design simple stuff. I tried addint to this but it simply does not work. What code do I use to bring up the users avatar for example? what code do I use to bring up the users profile, with the location, msn, skype info?

That is not simple code. Not for me atleast, that goes into the real of PHP with which I have limited experience.

therogueforums 12-09-2007 08:53 PM

No, this isn't a simple code, at least not to those who don't know php or html all that well. I, for example, can add color to user names. I can even bold words! Huzzah! But that's the extent of it. Posting messages like:
Quote:

Originally Posted by super hero
"Zomg! it's soo easy! just change the codes, lawlz! uber h4x!"

...does absolutely jack for us coding fetuses. In what way is that helpful? None.

I, as well as MANY others, are very interested in this modification. If you aren't willing to make it for us, simply post that, instead of trying to belittle those who don't know how to do it.

Lynne 12-09-2007 09:22 PM

I'm not interested in this one, but I can point you to the template. The one the shows the mod info over and over is showgroups_usergroupbit. I pasted it below and bolded some of the fields so you can see what is used. Probably to find the other fields you may use, look up the showgroups.php page and take a look at the query. It looks like many of those are columns in the user table and usertextfield table and usergroup table. If you have a test site, I suggest you play around with it on there.

<tr>
<td class="$bgclass">$user[onlinestatus]</td>
<td class="$bgclass">
<a href="member.php?$session[sessionurl]u=$user[userid]">$user[musername]</a>
<if condition="$show['location']"><div class="smallfont" title="$vbphrase[location_perm]">$user[location]</div></if>
</td>
<if condition="$showforums">
<td class="$bgclass"><div class="smallfont">$user[forumbits]</div></td>
</if>
<td class="$bgclass" nowrap="nowrap">
<if condition="$show['pmlink']"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$user[userid]" rel="nofollow"><img src="$stylevar[imgdir_button]/sendpm.gif" alt="<phrase 1="$user[username]">$vbphrase[send_private_message_to_x]</phrase>" border="0" /></a></if>
<if condition="$show['emaillink']"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$user[userid]" rel="nofollow"><img src="$stylevar[imgdir_button]/email.gif" alt="<phrase 1="$user[username]">$vbphrase[send_message_via_email_to_x]</phrase>" border="0" /></a></if>
</td>
</tr>


All times are GMT. The time now is 05:24 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.01047 seconds
  • Memory Usage 1,728KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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