Thread Rating:
  • 15 Vote(s) - 4.13 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] OUGC Awards
Hi, great plugin, just one problem. Whenever I click the award to go to the awards.php page, I get a 404 error.
Reply
Is the awards.php file (correctly) uploaded? You need to check that via FTP.
Reply
Great plugin but how can I make the awards appear in multiple rows instead of stretching the postbit margins?
MyBB 1.8.22 (x4)
7173Mustangs.com, pa2a.org, pazrt.com & paguntalk.com
Reply
Read the five posts before yours.
Reply
(2013-05-03, 09:00 PM)Omar G. Wrote: Read the five posts before yours.
I found this in postbit_ougc_awards:
{$br}<a href="{$mybb->settings['bburl']}/awards.php?view={$award['aid']}" title="{$award['name']}"><img src="{$award['image']}" alt="{$award['name']}" /></a>

...now, I know a little CSS but how can I alter this code to out put 3 rows max with 4 icons max per row? That's all I am asking? Cool

Also, did anyone notice that in the ACP, when you VIEW USERS and try to go to the next page of a long list of users...there are no users listed! It's not a huge issue but I am unable to edit awards already issued to users on and after page 2.
MyBB 1.8.22 (x4)
7173Mustangs.com, pa2a.org, pazrt.com & paguntalk.com
Reply
(2013-05-04, 10:39 AM)RocketFoot Wrote: ...now, I know a little CSS but how can I alter this code to out put 3 rows max with 4 icons max per row? That's all I am asking? Cool

You may want to add <ul> around all awards and <li> around every award. Then set li width to 25% and float it left.
Reply
(2013-05-04, 03:19 PM)Destroy666 Wrote:
(2013-05-04, 10:39 AM)RocketFoot Wrote: ...now, I know a little CSS but how can I alter this code to out put 3 rows max with 4 icons max per row? That's all I am asking? Cool

You may want to add <ul> around all awards and <li> around every award. Then set li width to 25% and float it left.

Problem is, the code I posted above is what generates the list of award images...I need to break that down into a table or something so it limits the output to 4 rows and 4 columns.
MyBB 1.8.22 (x4)
7173Mustangs.com, pa2a.org, pazrt.com & paguntalk.com
Reply
RF - send me a login etc and I will have a look.
Random Fish and Sims Maniac
MY PLUGINS
Help MyBBSupport help you - remember to mark your threads as solved


Reply
I think you need to remove the {$br} variable first then wrap the variable in postfix/_classic with a div, apply some CSS to that div and it should be possible.

I recall already telling this to an user some posts before. I will be checking the pagination bug, next version everything will be fresh code so it will probably be fixed by then.
Reply
Thanks guys! Leefish has fixed me up! I just need to fine tune her code with some centering and I'll be golden!
MyBB 1.8.22 (x4)
7173Mustangs.com, pa2a.org, pazrt.com & paguntalk.com
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)