Twitter SMFHacks Facebook SMFHacks SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 18, 2013, 08:40:56 am

Login with username, password and session length
Members
Total Members: 10756
Latest: paul25
Stats
Total Posts: 32348
Total Topics: 5473
Online Today: 50
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 3
Guests: 46
Total: 49
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: One Last Question  (Read 896 times)
FrizzleFried
Badge Awards Member
Full Member
*****
Online Online

Posts: 128



View Profile
« on: June 03, 2012, 04:44:42 pm »

I use the STATISTICS IN JQUERY mod which gives the INFO CENTER a "tab" structure... I would need to make the Badges portion that comes up in the info center one of those "tabs'... will this be easily done?

Thanks!
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 10987


View Profile
« Reply #1 on: June 03, 2012, 04:49:15 pm »

Not sure I am not that good with jquery/javascript but probably can try to copy the code they have and see if it would work with badges
Logged
shuban
Badge Awards Customer
Full Member
*****
Offline Offline

Posts: 163


View Profile WWW
« Reply #2 on: June 03, 2012, 04:56:16 pm »

I use the STATISTICS IN JQUERY mod which gives the INFO CENTER a "tab" structure... I would need to make the Badges portion that comes up in the info center one of those "tabs'... will this be easily done?

Thanks!


I've done this already, check out mine, bottom...
Logged

FrizzleFried
Badge Awards Member
Full Member
*****
Online Online

Posts: 128



View Profile
« Reply #3 on: June 03, 2012, 06:08:23 pm »

I use the STATISTICS IN JQUERY mod which gives the INFO CENTER a "tab" structure... I would need to make the Badges portion that comes up in the info center one of those "tabs'... will this be easily done?

Thanks!


I've done this already, check out mine, bottom...

What is your forum address by chance?
Logged
shuban
Badge Awards Customer
Full Member
*****
Offline Offline

Posts: 163


View Profile WWW
« Reply #4 on: June 03, 2012, 06:48:44 pm »

I use the STATISTICS IN JQUERY mod which gives the INFO CENTER a "tab" structure... I would need to make the Badges portion that comes up in the info center one of those "tabs'... will this be easily done?

Thanks!


I've done this already, check out mine, bottom...

What is your forum address by chance?

http://biology-forums.com
Logged

FrizzleFried
Badge Awards Member
Full Member
*****
Online Online

Posts: 128



View Profile
« Reply #5 on: June 04, 2012, 12:47:00 am »

OK... got the mod... installed the mod... it works fine however it's not playing nice with the Statistics in Jquery mod as expected.  The Badges info appears on all 4 tabs ... I need to remove it from the 4 tabs and put it in it's own tab.  Any help as to where I should look and what not would be greatly appreciated.

THANKS!

EDIT: Please disregard.  I managed to get it to work!

« Last Edit: June 04, 2012, 02:12:01 am by FrizzleFried » Logged
FrizzleFried
Badge Awards Member
Full Member
*****
Online Online

Posts: 128



View Profile
« Reply #6 on: June 04, 2012, 10:01:14 am »

Question:  Is there a way to increase the number of the latest badges that display in the Info Center?   Ideally I'd like to display about twice what currently displays.

Thanks!
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 10987


View Profile
« Reply #7 on: June 04, 2012, 05:07:15 pm »

Question:  Is there a way to increase the number of the latest badges that display in the Info Center?   Ideally I'd like to display about twice what currently displays.

Thanks!


Open Sources/BoardIndex.php
Code:
$dbresult = $smcFunc['db_query']('', "SELECT
b.id_badge, b.title, b.image, b.enabled,
l.ID_MEMBER, l.date, l.id_log, m.real_name 
FROM ({db_prefix}badgeawards_badges as b, {db_prefix}badgeawards_badge_log as l)
LEFT JOIN {db_prefix}members as m ON (m.ID_MEMBER = l.ID_MEMBER)
WHERE l.id_badge = b.id_badge
ORDER BY l.id_log DESC
LIMIT 10");
Change to
Code:
$dbresult = $smcFunc['db_query']('', "SELECT
b.id_badge, b.title, b.image, b.enabled,
l.ID_MEMBER, l.date, l.id_log, m.real_name 
FROM ({db_prefix}badgeawards_badges as b, {db_prefix}badgeawards_badge_log as l)
LEFT JOIN {db_prefix}members as m ON (m.ID_MEMBER = l.ID_MEMBER)
WHERE l.id_badge = b.id_badge
ORDER BY l.id_log DESC
LIMIT 20");

Will probably add a setting for this as well.
Logged
FrizzleFried
Badge Awards Member
Full Member
*****
Online Online

Posts: 128



View Profile
« Reply #8 on: June 04, 2012, 05:30:34 pm »

Thank you... worked great...
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Recent
[May 16, 2013, 10:13:46 pm]

[May 15, 2013, 11:32:14 pm]

[May 15, 2013, 11:31:24 pm]

[May 12, 2013, 09:10:43 am]

[May 10, 2013, 03:49:55 am]

[May 07, 2013, 07:12:40 pm]

[May 07, 2013, 02:37:14 pm]

[May 06, 2013, 10:29:56 pm]

[May 04, 2013, 03:22:01 pm]

[May 04, 2013, 01:08:57 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 1.218 seconds with 20 queries.