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)
-   -   Mini Mods - Site Supporter Button in Postbit - Primary/Additional Usergroups supported (https://vborg.vbsupport.ru/showthread.php?t=148629)

R1lover 06-02-2007 11:16 PM

This is built into VB why was a hack needed?

713JunctionP 06-02-2007 11:32 PM

Quote:

Originally Posted by R1lover (Post 1260003)
This is built into VB why was a hack needed?


try it. :)

R1lover 06-02-2007 11:34 PM

Quote:

Originally Posted by 713JunctionP (Post 1260007)
try it. :)


I have been using the built in version of this for a few years.... I'm still confused why you needed a hack for this lol

R1lover 06-02-2007 11:39 PM

Here is the placement with the built in "User Ranks" version. Of course you can place the image in any location as well.

It's all automated as well, when a user signs up for a site supporter package it changes there user group and adds the image for that rank.

So really, I'm not trying to bust your balls here, I'm interested to know why you don't' just use the User Ranks?

713JunctionP 06-03-2007 05:14 AM

Quote:

Originally Posted by R1lover (Post 1260013)
Here is the placement with the built in "User Ranks" version. Of course you can place the image in any location as well.

It's all automated as well, when a user signs up for a site supporter package it changes there user group and adds the image for that rank.

So really, I'm not trying to bust your balls here, I'm interested to know why you don't' just use the User Ranks?

if you have more than one rank set up it's not necessarily an easy task to get them all placed in various spots within your postbit or postbit_legacy.

also, you need to pay very close attention to the thread and realize why this is all needed. there are numerous code conflicts that occur between user ranks and primary/usergroups. especially when users want to be part of a 'Site Supporter' group but they don't want to change their primary group (ie moderators who are also site supporters but may also have another rank set up at the same time).

please pay more attention before assuming you know what certain code is doing. there are reasons for this thread and why people want it. :)

TheProphet 06-03-2007 10:38 AM

Nice work m8.. *installed*

R1lover 06-03-2007 01:49 PM

Quote:

Originally Posted by 713JunctionP (Post 1260156)
if you have more than one rank set up it's not necessarily an easy task to get them all placed in various spots within your postbit or postbit_legacy.

also, you need to pay very close attention to the thread and realize why this is all needed. there are numerous code conflicts that occur between user ranks and primary/usergroups. especially when users want to be part of a 'Site Supporter' group but they don't want to change their primary group (ie moderators who are also site supporters but may also have another rank set up at the same time).

please pay more attention before assuming you know what certain code is doing. there are reasons for this thread and why people want it. :)

The issues you are talking about are not issues if you know how to set up your user groups.

Trust me, everything you are doing with this is built into VB.... :) no need to all this work, but hey if you have the time then that's your issue not mine. :)

p.s. Your issue above is controlled by setting their primary display user group setting.

As for knowing this code and what it does, if I didn't I would not have posted. Your modification does nothing that is not there already it's as simple as that. I didn't want to bust your balls here and tell you that when I posted so I thought I would be nice and ask first. :)

713JunctionP 06-03-2007 04:31 PM

^ TRUST ME, you are still not comprehending what I'm saying and I do not have time to argue with you about it.

if you don't want to use the hack then please stay out of the thread.

morrow 06-03-2007 09:57 PM

Installed and working, no problems.

I do have one question though. Is there a way to limit this to only the first post in a thread? It's annoying to see this icon numerous times through-out a thread.

pds 06-03-2007 10:45 PM

Quote:

Originally Posted by R1lover (Post 1260009)
I have been using the built in version of this for a few years.... I'm still confused why you needed a hack for this lol

Some people prefer this in a hack because they want the "supporter" button to show up in a different place from where the "ranks" function does.

I understand this can be done with user ranks, and frankly it is easier to control doing so.

In my case user ranks currently gives them different icons based upon how many posts they have, and this appears right under the username. I want the site supporter button to appear lower in the postbit_legacy. (In fact the sample image of the postbit for this hack was taken from my site...even though I am not yet using the hack...must have been some creative photoshoping)


All times are GMT. The time now is 10:55 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.01184 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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