vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - Yet Another Awards System (https://vborg.vbsupport.ru/showthread.php?t=232684)

Bluefin221 01-10-2012 01:21 PM

I have been messing around with the custom css and trying to change the way my awards are displayed, but I keep ruining it and its not looking the way I want it to.

Basically I want the awards to look like ranks on the postbit and not tiny awards, this is because I run a variety of tournaments and full teams are issued an award. I want the award system to also stack up the awards one after the other, again just like ranks do, each time i thought I cracked it it just messed up the lot.

Is it also possible to move the awards straight under the ranks?

Mobo 01-10-2012 03:48 PM

Are you talking about the built in ranks of vB? You should be able to move them just about anywhere in your postbit template, you just have to figure out the code needed to do it.

Bluefin221 01-10-2012 04:10 PM

Quote:

Originally Posted by Mobo (Post 2286051)
Are you talking about the built in ranks of vB? You should be able to move them just about anywhere in your postbit template, you just have to figure out the code needed to do it.

Yes, and yeah I know, problem is everytime I edit the CSS I mess it up so was hoping someone could help in that respect.

Mobo 01-10-2012 05:04 PM

I can only suggest that when you get one part looking the way you want it to, you copy the code over to a txt file and save it. That way if you mess it up as you continue to work on it, you can easily go back to the last known good point. For me, it was really just a trial and error process. I did not move my awards around though, so I can't really give you any direct answers.

mIQe 01-10-2012 06:37 PM

My forum logo is aligned center on all my pages except the awards page where it is aligned to the left. I use Firebug to locate the CSS for it and found this:

fieldset, img {
border: 0 none;
}

Did a search for that and it didn't yield any results.

Does anyone know where to change this?

Bluefin221 01-10-2012 08:00 PM

Ok I solved one of my problems, I just need to sort out two issues.

When I issue someone the same award it displays the same award again and again, given that on my site you play internationals and are given a medal each time you represent your country some guys can end up with 30/40 awards (cap for playing for country) so that is going to display that many times. I need the award to only show up once, but for the awards total to display correctly at the bottom. Is there an easy way to do this?

Second issue is how to display it under the ranks without wrecking the place.

Rekinek 01-11-2012 10:28 PM

Hi. I get this error:

Database error in vBulletin 4.1.4:

Invalid SQL:
ALTER TABLE award ADD award_allowrecommend TINYINT( 1 ) DEFAULT 1 NOT NULL,ADD award_pointvalue TINYINT( 3 ) DEFAULT 0 NOT NULL;

MySQL Error : Table 'pstrophy_ps3trophy.award' doesn't exist
Error Number : 1146

Any one can help me. Like step by step what to do. Thanks.

Toshinobu 01-12-2012 01:18 PM

Quote:

Originally Posted by Rekinek (Post 2286754)
Hi. I get this error:

Database error in vBulletin 4.1.4:

Invalid SQL:
ALTER TABLE award ADD award_allowrecommend TINYINT( 1 ) DEFAULT 1 NOT NULL,ADD award_pointvalue TINYINT( 3 ) DEFAULT 0 NOT NULL;

MySQL Error : Table 'pstrophy_ps3trophy.award' doesn't exist
Error Number : 1146

Any one can help me. Like step by step what to do. Thanks.

I am getting the same error with vbulletin 4.1.9 :(

*EDIT*
Fixed by changing all instances of "TYPE=MyISAM" in the XML file to "ENGINE=MyISAM"

mIQe 01-12-2012 09:13 PM

So no one knows how to center the logo on the awards.php page?

squidsk 01-13-2012 03:47 AM

Which logo?


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