Twitter SMFHacks Facebook SMFHacks SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 23, 2013, 04:44:01 am

Login with username, password and session length
Members
Total Members: 10767
Latest: posia123
Stats
Total Posts: 32387
Total Topics: 5479
Online Today: 57
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 1
Guests: 47
Total: 48
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Hidden / Manual Badges Question  (Read 775 times)
FrizzleFried
Badge Awards Member
Full Member
*****
Offline Offline

Posts: 128



View Profile
« on: June 18, 2012, 10:51:04 am »

When uploading custom badges to give out manually.  How I upload a badge so that when the user clicks on it from the badge list,  it shows the larger version of the badge?  I tried uploading the larger version thinking perhaps the software was downsizing it for display... no go... it displayed the huge ass badge in the list...

Perhaps there should be two upload fields ... one for small badges one for large badges?

Thanks!

Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11000


View Profile
« Reply #1 on: June 18, 2012, 01:20:38 pm »

At the moment it is two separate files. Will add options to make it better. One field for big one for large or an option to resize the large to the small image.
When uploading an image. The file you upload is the small image which is stored in the badges folder.
The big image would need to also be uploaded to big folder in the badges folder which would need to be the same filename
Logged
FrizzleFried
Badge Awards Member
Full Member
*****
Offline Offline

Posts: 128



View Profile
« Reply #2 on: June 21, 2012, 10:49:24 am »

OK... so I named a small badge KENBADGE.png and uploaded it through the badge system... it shows.  I then uploaded a BIG badge named KENBADGE.png to the BIG folder in the badged folder and ... it still shows the small badge when I click on it from my list of badges...?

How do i get it to display the large badge like the stock ones that come with the system?
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11000


View Profile
« Reply #3 on: June 21, 2012, 10:53:46 am »

In the next update will have a setting area for small and large images.
Logged
FrizzleFried
Badge Awards Member
Full Member
*****
Offline Offline

Posts: 128



View Profile
« Reply #4 on: June 21, 2012, 10:55:05 am »

Figured it out!

When you use the upload system in the badge system to upload a badge... the system (or SMF) renames the file.  I uploaded kenbadge.png but the system renamed the file 4fe34166e66c4.png... when I changed the name of KENBADGE.png to 4fe34166e66c4.png... it worked... clicking on the badge loads up the larger one.
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11000


View Profile
« Reply #5 on: June 21, 2012, 11:01:23 am »

Figured it out!

When you use the upload system in the badge system to upload a badge... the system (or SMF) renames the file.  I uploaded kenbadge.png but the system renamed the file 4fe34166e66c4.png... when I changed the name of KENBADGE.png to 4fe34166e66c4.png... it worked... clicking on the badge loads up the larger one.
Forgot I did the reneaming for security reasons
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Recent
[May 22, 2013, 10:03:30 pm]

[May 22, 2013, 03:00:09 pm]

[May 22, 2013, 03:03:31 am]

[May 21, 2013, 03:27:16 pm]

[May 21, 2013, 02:11:10 pm]

[May 21, 2013, 01:18:58 pm]

[May 21, 2013, 12:22:02 am]

[May 21, 2013, 12:20:41 am]

[May 19, 2013, 11:13:02 pm]

[May 19, 2013, 08:18:27 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.447 seconds with 22 queries.