[RC]Multiple ranks (not linked to usergroups) - 1.01

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Anti-Spam Guide
User avatar
clancker
Registered User
Posts: 37
Joined: Sun Jul 13, 2014 4:00 pm

Re: [RC]Multiple ranks (not linked to usergroups) - 1.01

Post by clancker » Sun Sep 07, 2014 10:41 am

FreeBaGeL wrote: EDIT: Nevermind, just saw the text on how to add more.
Where is that thing ? Any lessons to do it ?

User avatar
Oyabun1
Former Team Member
Posts: 23164
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: [RC]Multiple ranks (not linked to usergroups) - 1.01

Post by Oyabun1 » Sun Sep 07, 2014 11:31 am

The first post has some general instructions and it has been covered several times within the topic.
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests

logoster
Registered User
Posts: 7
Joined: Mon Apr 02, 2012 10:50 pm

Re: [RC]Multiple ranks (not linked to usergroups) - 1.01

Post by logoster » Thu Sep 18, 2014 7:50 pm

Hello, i'm actually working on a forum with a friend, and were using this mod, however i can't seem to figure out how to get it to work on our theme (yes i know i have to put some code in, but i can't find the code to copy anywhere, could someone tell me where this code is?)

User avatar
Oyabun1
Former Team Member
Posts: 23164
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: [RC]Multiple ranks (not linked to usergroups) - 1.01

Post by Oyabun1 » Thu Sep 18, 2014 11:58 pm

Most 3rd party styles are based on either prosilver or subsilver2. You need to know which of those your style is based on then make the appropriate edits to the style - the prosilver edits to prosilver based styles or subsilver2 edits for subsilver2 based styles.
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests

logoster
Registered User
Posts: 7
Joined: Mon Apr 02, 2012 10:50 pm

Re: [RC]Multiple ranks (not linked to usergroups) - 1.01

Post by logoster » Fri Sep 19, 2014 9:25 pm

Oyabun1 wrote:Most 3rd party styles are based on either prosilver or subsilver2. You need to know which of those your style is based on then make the appropriate edits to the style - the prosilver edits to prosilver based styles or subsilver2 edits for subsilver2 based styles.

well that's not the problem, i already know what mines based off of (prosilver in this case) however i don't know where the code i need to copy & paste is located in the mod

User avatar
Oyabun1
Former Team Member
Posts: 23164
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: [RC]Multiple ranks (not linked to usergroups) - 1.01

Post by Oyabun1 » Fri Sep 19, 2014 11:38 pm

In the install instructions (install_multiple_ranks.xml). You substitute name of your style for prosilver wherever you see it.
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests

logoster
Registered User
Posts: 7
Joined: Mon Apr 02, 2012 10:50 pm

Re: [RC]Multiple ranks (not linked to usergroups) - 1.01

Post by logoster » Thu Oct 02, 2014 7:48 pm

Oyabun1 wrote:In the install instructions (install_multiple_ranks.xml). You substitute name of your style for prosilver wherever you see it.

that didn't work, it still doesn't update the theme to show the new ranks

User avatar
Oyabun1
Former Team Member
Posts: 23164
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: [RC]Multiple ranks (not linked to usergroups) - 1.01

Post by Oyabun1 » Thu Oct 02, 2014 9:14 pm

logoster wrote:that didn't work, it still doesn't update the theme
What is "it"?
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests

Goztow
Registered User
Posts: 364
Joined: Fri Aug 17, 2007 10:31 am
Location: Belgium
Contact:

Re: [RC]Multiple ranks (not linked to usergroups) - 1.01

Post by Goztow » Sat Oct 04, 2014 5:15 pm

Did you pruge the cache?

GOKOP
Registered User
Posts: 3
Joined: Sat Oct 04, 2014 6:33 pm

Re: [RC]Multiple ranks (not linked to usergroups) - 1.01

Post by GOKOP » Sat Oct 04, 2014 6:38 pm

Well, I was trying to install the mod.
In some point (I don't remember which) Notepad++ didn't find the code which I had to find, so logically I couldn't add something after that, so I didn't, and now when I tries to add additional rank, I have such error:

Code: Select all

SQL ERROR [ mysqli ]

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'user_rank2 = 3, user_rank3 = 0 WHERE user_id = 2' at line 3 [1064]

SQL

UPDATE bb_users SET user_rank = 1 user_rank2 = 3, user_rank3 = 0 WHERE user_id = 2

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/includes/db/dbal.php
LINE: 757
CALL: trigger_error()

FILE: [ROOT]/includes/db/mysqli.php
LINE: 189
CALL: dbal->sql_error()

FILE: [ROOT]/includes/acp/acp_users.php
LINE: 1785
CALL: dbal_mysqli->sql_query()

FILE: [ROOT]/includes/functions_module.php
LINE: 507
CALL: acp_users->main()

FILE: [ROOT]/adm/index.php
LINE: 74
CALL: p_master->load_active()

logoster
Registered User
Posts: 7
Joined: Mon Apr 02, 2012 10:50 pm

Re: [RC]Multiple ranks (not linked to usergroups) - 1.01

Post by logoster » Thu Oct 09, 2014 9:03 pm

Oyabun1 wrote:
logoster wrote:that didn't work, it still doesn't update the theme
What is "it"?

the mod installer, assuming thats what you meant when you said to edit that file with the name of theme, otherwise i have no idea what your talking about

User avatar
Oyabun1
Former Team Member
Posts: 23164
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: [RC]Multiple ranks (not linked to usergroups) - 1.01

Post by Oyabun1 » Thu Oct 09, 2014 9:13 pm

logoster wrote:the mod installer,
Ah, you are using AutoMOD, you should have said because that isn't part of standard phpBB.

When I was talking about substituting the style name I meant in following the instructions to make manual changes to the style.

What exactly have you done?
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests

logoster
Registered User
Posts: 7
Joined: Mon Apr 02, 2012 10:50 pm

Re: [RC]Multiple ranks (not linked to usergroups) - 1.01

Post by logoster » Sat Oct 11, 2014 6:36 pm

Oyabun1 wrote:
logoster wrote:the mod installer,
Ah, you are using AutoMOD, you should have said because that isn't part of standard phpBB.

When I was talking about substituting the style name I meant in following the instructions to make manual changes to the style.

What exactly have you done?

i edited the file you said to edit replacing prosilver with the name of my style, re-zipped it, used auto-mod installer to install it, purged cache and all that, and still nothing showing up on the style

gaf210
Registered User
Posts: 2
Joined: Thu Oct 30, 2014 1:47 pm

Re: [RC]Multiple ranks (not linked to usergroups) - 1.01

Post by gaf210 » Thu Oct 30, 2014 1:51 pm

Thanks for the mod! One question though, it might sound very stupid but i dont find where to add new rank images? I used the automod installation.

User avatar
Oyabun1
Former Team Member
Posts: 23164
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: [RC]Multiple ranks (not linked to usergroups) - 1.01

Post by Oyabun1 » Thu Oct 30, 2014 8:33 pm

phpBB doesn't provide a way of uploading rank images, that must be manually done using FTP, SFTP or SSH. The default location to place them is /images/ranks/.
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests

Locked

Return to “[3.0.x] MODs in Development”

Who is online

Users browsing this forum: No registered users and 12 guests

cron