vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - Yet Another Awards System 2.1.4 (https://vborg.vbsupport.ru/showthread.php?t=142487)

djdonx 08-02-2007 08:17 PM

I suppose I'm not really bothered how it will work as long as its displayed properly. Firefox automatically uses fixed width on the tables.
http://img340.imageshack.us/img340/4...firefoxyu8.png
Is it possible to do that as code?

Simetrical 08-02-2007 11:11 PM

You can put zero-width spaces (& #8203; but without the space) between each image to explicitly require them to be valid break points, if they aren't considered that already.

djdonx 08-03-2007 10:13 AM

How would I do that ;S

djdonx 08-04-2007 10:13 AM

So, can anyone possibly help then?

teamsupra 08-04-2007 06:06 PM

WIll this work with Usergroups? I want to give an award to a usergroup and everyone in the group will receive the award. Is this a built in option?

jluerken 08-04-2007 06:20 PM

Quote:

Originally Posted by teamsupra (Post 1309795)
WIll this work with Usergroups? I want to give an award to a usergroup and everyone in the group will receive the award. Is this a built in option?

No its not working this way

djdonx 08-05-2007 09:25 AM

Any help with my MEMBERINFO template then? :(

Apophis 08-06-2007 01:57 PM

I hate to do this, but I was curious if the author had any input on this dilemma or if anyone else knew of any plugins or modifications to the bbcode system that would allow me to complete this task.

Quote:

Originally Posted by Apophis (Post 1302597)
I've been toying with this system for a while but what I really wanted to do was to get the awards to display via a bbcode tag.

I started by modifying the code a bit to get the awards to display below the signature area in the main body of a user's post but decided I wanted to give them more flexibility and give them some bbcode they could use to display their awards.

I added the following into class_bbcode.php

Code:

                // [RIBBONS]
                $tag_list['no_option']['ribbons'] = array(
                        'callback' => 'handle_bbcode_ribbons',
                        'strip_empty' => false,
                        'parse_option' => true
                );

Code:

        /**   
        * Handles a [RIBBONS] tag. TG Ribbons.
        *
        */
        function handle_bbcode_ribbons($ribbontext)
        {
                global $db, $vbulletin;
                $ribbontext = str_replace(array('<br>', '<br />', '\\"'), array('', '', '"'), $ribbontext);
                 
                $templaterib = 'tgribbons_display';
                eval('$html = "' . fetch_template($templaterib) . '";');
                return $html;
        }

Needles to say, it didn't do what I was hoping for. I created a new template called "tgribbons_display" using the code that I had placed in my postbit_legacy template and used the bbcode handler to display that template.

Well. Nothing shows up at all. I'm assuming that I'm missing some key step in pulling this off, such as making sure that the appropriate code is also executing to query the DB to display the awards when I call my template. Just to make sure I had the bbcode handler working I tried calling another template that just displays text and it worked fine.

Any ideas what I'm missing or what I could do to be able to use my custom bbcode tag to display the awards?


teamsupra 08-06-2007 02:21 PM

Is there anyway to mod it to do usergroups?

es-league.com 08-21-2007 07:53 AM

I have a small issue with this mod now :

although it displays all awards clearly in the user cp
of each member who have awards, only some
have their medals showing in the posts ?

It appears to select random members to show
medals in posts rather than all members with awards.

any ideas ? rest of the mod seems to be
working fine and the members love it :)


All times are GMT. The time now is 01:12 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.01770 seconds
  • Memory Usage 1,745KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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