Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 201
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 179
Total: 179

Author Topic: Rebadging after install  (Read 5654 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: 16436
    • 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: 16436
    • 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

  • Member
  • *
  • 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: 16436
    • 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
9 Replies
10865 Views
Last post January 08, 2007, 10:54:38 am
by mrbones
1 Replies
3984 Views
Last post April 22, 2007, 01:10:14 am
by rider
Install

Started by Skyview Support

9 Replies
6693 Views
Last post June 27, 2007, 02:13:41 am
by Skyview
3 Replies
6775 Views
Last post June 06, 2007, 03:52:21 pm
by rider
3 Replies
4659 Views
Last post August 29, 2012, 03:41:47 pm
by SMFHacks

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal