Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 12388
Latest: Rands
New This Month: 5
New This Week: 0
New Today: 0
Stats
Total Posts: 40314
Total Topics: 7100
Most Online Today: 97
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 76
Total: 77

Author Topic: Rebadging after install  (Read 3895 times)

0 Members and 1 Guest are viewing this topic.

Offline Draffi

  • Menu Editor Pro Customer
  • Jr. Member
  • *****
  • Posts: 76
    • View Profile
Rebadging after install
« on: June 19, 2013, 06:02:10 pm »
What i need to do, that the Badge-Mod dont start to work ("Rebadging") after installing?

I want to edit (deactivate, add) some badges, first.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15151
    • View Profile
Re: Rebadging after install
« Reply #1 on: June 19, 2013, 07:19:48 pm »
Are you uninstalling then installing again? And what to disable the auto rebadge code on install?
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Draffi

  • Menu Editor Pro Customer
  • Jr. Member
  • *****
  • Posts: 76
    • View Profile
Re: Rebadging after install
« Reply #2 on: June 20, 2013, 03:53:19 am »
When i install the Mod the first time (localhost testground) it shows "Redirect" (like all the other mods) but it is not open the admin-setting-page. It starts immediatly to rebadging the members...

Quote
And what to disable the auto rebadge code on install?

Maybe i`m a little blond, but how exactly i can do this?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15151
    • View Profile
Re: Rebadging after install
« Reply #3 on: June 20, 2013, 09:51:58 am »
We can modify the package-info.xml inside the zip file for the mod to disable the redirect code.
Would require to unzip the mod package edit that file and then rezip and repload to SMF to install.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline MechSpecs

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Rebadging after install
« Reply #4 on: April 09, 2014, 08:19:06 pm »
Is there a specific line I should be looking for to turn this feature off?

I would like to customize the badges, settings, layouts etc, on my live server before I actually start giving badges to people.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15151
    • View Profile
Re: Rebadging after install
« Reply #5 on: April 09, 2014, 09:16:55 pm »
In sources/BadgeAwards.php
You can add the following
exit();

after
Code: [Select]
function Badges_RebuildHistory()
{
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
2216 Views
Last post October 10, 2007, 08:00:51 am
by brad9993
1 Replies
4697 Views
Last post May 07, 2008, 02:24:00 am
by Bec
4 Replies
4466 Views
Last post February 22, 2008, 01:45:40 am
by biokonsult
1 Replies
2828 Views
Last post May 06, 2009, 03:54:17 am
by jacci
3 Replies
3169 Views
Last post August 29, 2012, 03:41:47 pm
by SMFHacks

+- Recent Topics

Quality of images after import by SMFHacks
September 05, 2020, 10:21:44 am

How do I download gallery images? by CWVRV
August 30, 2020, 11:50:07 pm

Deleting Empty Galleries by SMFHacks
August 30, 2020, 11:43:32 am

PHP error by davejo
August 25, 2020, 07:35:13 am

Permissions to list ads and buy items by CWVRV
August 21, 2020, 05:19:45 pm

Doubt with download permissions. by Rock Lee
August 20, 2020, 08:23:24 pm

Attachment images Upsidedown or Sideways by SMFHacks
August 18, 2020, 05:41:07 pm

[Mod]Avatars Display Integration by Hatshepsut
August 17, 2020, 11:39:54 pm

Simple Portal Block - Classifieds by SMFHacks
August 16, 2020, 09:56:48 am

SMF Links by SMFHacks
August 16, 2020, 08:03:42 am

Powered by EzPortal