Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
Share This
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 25, 2017 - 5:00 pm

It should pick it up from the parent if you don't create any new ones in the child. So you should be fine...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Michael Walden
Member
Free Members
sp_UserOfflineSmall Offline
Nov 25, 2017 - 5:16 pm

One more question before I start copying and editing template files. Do the changes you have made assume that the plugin is activated? Just want to be sure before I attempt any testing after I make the changes... If it does assume rather than check, I will just make sure to activate it before I switch to the child theme and test it

 

D'OH. Never mind...  eek

“I must stop him from being one of those who call themselves good because they have no claws.” ― Irvin D. Yalom, When Nietzsche Wept

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 25, 2017 - 5:53 pm

I guess you found the answer to that 🙂

A bit worried about you not seeing any overlays in the forum admin theme chooser page because you should see all of the ones from the parent... Is it still empty when you go back to it?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Michael Walden
Member
Free Members
sp_UserOfflineSmall Offline
Nov 25, 2017 - 6:11 pm

Yes, I only see the "activate theme" & "delete theme buttons.

I am curious. Should the "Parent" line of the sptheme.txt be on a line of its own? Here is how mine looks currently:

Simple:Press Theme Title: RbtOTK Parent: reboot
Version: 1.0.2
Theme URI: http://simple-press.com
Description: OTK Child Theme Based on Reboot
Author: Ike Staines, Andy Staines & Steve Klasen
Author URI: http://simple-press.com
Stylesheet: RbtOTK.css
Screenshot: spTheme.jpg
Simple:Press Versions: 5.5.5 and above

“I must stop him from being one of those who call themselves good because they have no claws.” ― Irvin D. Yalom, When Nietzsche Wept

Avatar
Michael Walden
Member
Free Members
sp_UserOfflineSmall Offline
Nov 25, 2017 - 6:15 pm

That was the problem.

Gong to test the child theme and plugin now

“I must stop him from being one of those who call themselves good because they have no claws.” ― Irvin D. Yalom, When Nietzsche Wept

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 25, 2017 - 6:18 pm

Yes - a new linre.

But surely the parent name is RbtOTK ?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Michael Walden
Member
Free Members
sp_UserOfflineSmall Offline
Nov 25, 2017 - 6:20 pm

OK. I went to clear the error log before I switch to the child theme and found this:

11/25/2017 2:28 am | spaErrError | 11 | database


file: /home/wp_t2rx8u/thelemicknights.org/wp-content/sp-resources/forum-plugins/rank-info/library/sp-rank-info-components.php
line: 58
function: spdb_table
error: 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 ') AND admin=0' at line 1

SELECT * FROM wp_cpm4sp_sfmembers WHERE (posts >= 0 AND posts < ) AND admin=0

 

I doubt this is related as I haven't changed anything yet. Should I be worried?

“I must stop him from being one of those who call themselves good because they have no claws.” ― Irvin D. Yalom, When Nietzsche Wept

Avatar
Michael Walden
Member
Free Members
sp_UserOfflineSmall Offline
Nov 25, 2017 - 6:21 pm

No, the parent name is Reboot here is the line in the file:

Parent: reboot

“I must stop him from being one of those who call themselves good because they have no claws.” ― Irvin D. Yalom, When Nietzsche Wept

Avatar
Michael Walden
Member
Free Members
sp_UserOfflineSmall Offline
Nov 25, 2017 - 6:34 pm

Should there be a numeric value after  'AND Posts <' before the ')'?

“I must stop him from being one of those who call themselves good because they have no claws.” ― Irvin D. Yalom, When Nietzsche Wept

Avatar
Michael Walden
Member
Free Members
sp_UserOfflineSmall Offline
Nov 25, 2017 - 7:41 pm

OK as far as the child theme goes everything appears to be working fine! I am assuming that I could, simply by editing those same lines in the template files make it so that only Topics and topic replies could be shared (versus sharing entire forums? Or just tell the other admins not to share anything but topics and replies LOL

“I must stop him from being one of those who call themselves good because they have no claws.” ― Irvin D. Yalom, When Nietzsche Wept

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 643
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 616
Members: 17343
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10117
Posts: 79590