Welcome, Guest. Please login or register.

ShoutBox!

 

Skhilled

2024-08-09, 18:19:29
Awww! Poor thing! LOL
 

Ken

2024-08-09, 09:20:52
 

Skhilled

2024-07-06, 10:33:18
 :D
 

Ken

2024-07-06, 06:40:47
Happy Saturday after the 4th of July!
 :fireworks:
 

Skhilled

2024-07-04, 20:27:02
Happy Day Off From Work!  :D
 

Ken

2024-06-25, 06:23:12
84... who knew?  laughing7
...2013 was my *magic* year
 

Skhilled

2024-06-14, 22:09:12
I hope so! LOL
 

Ken

2024-06-14, 21:41:30
My B-Day is forthcoming and maybe it will be far enough along so that I can be a regular Dancing Fool for that day!!! :banana: :2funny:
 

Ken

2024-06-14, 21:38:38
Happy Friday everyone! I'm  SOOO glad to see Friday and not just because it's the weekend, but because it marks one more day in the recovery of my foot!  laughing7

Scrubmeister

2024-04-19, 10:32:40
Good to see the site back faster than ever. :)

Recent Topics

TP Articles


Search in titles
Search in article texts

Author Topic: Broken Bits and Pieces!  (Read 9414 times)

0 Members and 3 Guests are viewing this topic.

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11937
  • Gender: Male
  • View Gallery
Broken Bits and Pieces!
« on: September 08, 2010, 09:08:38 AM »
Currently we have several broken bits and pieces here on the FamilyForum brought on by upgrades/updates in some of the software that runs the site and how those different software's interact with each other.

One of the more noticeable errors can be found it the Arcade Shoutbox, those two 'Notice: Undefined Index:' errors should not be there:
 

What happens sometimes is that different Mods can be in conflict with each other, or bits of code get left behind when a Mod is uninstalled and because we do a lot of testing on this site things tend to get a little cluttered after a while.
So, to resolve that and the other conflicts that are causing issues in the forums I'm going to reload fresh files to the site and then reinstall only those Mods that we are using now.

There may be some downtime, but overall you should not see much of an interruption in forum usability. Mainly you may notice a temporary loss of some features, like our custom theme as an example.

The process will start later today.

Thanks... Ken 
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline IchBin?

Re: Broken Bits and Pieces!
« Reply #1 on: September 08, 2010, 10:46:00 AM »
Good luck Ken. :)
I love cheese cake.

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11937
  • Gender: Male
  • View Gallery
Re: Broken Bits and Pieces!
« Reply #2 on: September 08, 2010, 10:52:25 AM »
Good luck Ken. :)

Thanks Brad.

The 'big' stuff is already done.
Loaded a fresh set of SMF2.0 RC1 files and then started reinstalling to larger Mods... TinyPortal v1.0 RC1, SMF Arcade 2.5 RC1, SMF Gallery Pro, etc. Most every thing is working out OK so far, except for that pesky error in the Arcade Shoutbox, not finding a cure for that yet.
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11937
  • Gender: Male
  • View Gallery
Re: Broken Bits and Pieces!
« Reply #3 on: September 08, 2010, 10:56:56 AM »
Well, gotta be offline for a while, so the rest will have to wait until later.  :disted:
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline IchBin?

Re: Broken Bits and Pieces!
« Reply #4 on: September 08, 2010, 11:05:49 AM »
That is an error in TP. I'll see if I can find a fix for that to see if it goes away here. Don't know why the shoutbox is showing it though...

I take that back, I don't "think" there's a problem with TP. I think it's the shoutbox mod. What shoutbox mod is it your using?
« Last Edit: September 08, 2010, 11:39:54 AM by IchBin? »
I love cheese cake.

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11937
  • Gender: Male
  • View Gallery
Re: Broken Bits and Pieces!
« Reply #5 on: September 08, 2010, 11:19:49 AM »

That is an error in TP. I'll see if I can find a fix for that to see if it goes away here. Don't know why the shoutbox is showing it though...

Sounds good.  :2thumbs:
There is a SMF file management mod in the package manager that you can install if you need to access the forum files.

Thanks Brad, feel free to make adjustments as you see the need.



EDIT: I be going now... be back later.
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline IchBin?

Re: Broken Bits and Pieces!
« Reply #6 on: September 08, 2010, 11:42:28 AM »
Looks like there's an error when trying to open a game in the arcade. Looks like missing games and stuff. Can't install the file mod because of errors. Looks like you have a fun road ahead of you Ken. lol I can't even see any shoutbox stuff in the admin. I see a lot of errors for it though. :)
« Last Edit: September 08, 2010, 12:01:48 PM by IchBin? »
I love cheese cake.

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11937
  • Gender: Male
  • View Gallery
Re: Broken Bits and Pieces!
« Reply #7 on: September 08, 2010, 04:10:26 PM »
The 'Mochi Media' game hack was not yet reinstalled and that may have caused your issue with gameplay... it's back in now, so when you get a chance try the game again to see if it plays and saves correctly.
BTW... some of the Mochi Media games will not save scores to the forum db, so anytime we find one that won't save we need to remove it. We also get a lot of the games from Underdog's site and I think all of them work correctly.

The file manager is installed now, let me know if you see any more errors with it.

The shoutbox thingie only shows up in a TP block:
http://www.ourfamilyforum.org/FamilyForum/index.php?action=tpadmin;blockedit=194;ca86a01=e3b977bff61f5ed6bedcbc776aad0785
It's the 'nneonneo's AJAX ShoutBox', but it has been recoded a little by Underdog to work in the Arcade.
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11937
  • Gender: Male
  • View Gallery
Re: Broken Bits and Pieces!
« Reply #8 on: September 08, 2010, 04:29:17 PM »
On the file manager install it gave a test fail for Sources/Subs.php, so I'm thinking, "NP, I'll just do a manual edit for that code."

Trouble is, it's not showing the same code in Sub.php that the xml file is wanting to see.

The xml file is calling for:
Code: [Select]
<file name="$sourcedir/Subs.php">
<operation>
<search position="replace"><![CDATA[ 'show' => allowedTo('manage_permissions'),
),]]></search>
<add><![CDATA[ 'show' => allowedTo('manage_permissions'),
),
'filemanager' => array(
'title' => $txt['fm_adminbutton'],
'href' => $scripturl . '?action=admin;area=filemanager',
'show' => allowedTo('admin_forum'),
),]]></add>
</operation>

But this code is in the Subs.php file:
Code: [Select]
'show' => allowedTo('manage_permissions'),
'is_last' => true,
),

So... I need to fighre out what to do with the ''is_last' => true,".  :up2some:
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline IchBin?

Re: Broken Bits and Pieces!
« Reply #9 on: September 08, 2010, 04:59:43 PM »
The "is_last" part indicates that it is the last item of the menu for that part of the menu. After you replace the code it should look like this:
Code: [Select]
                    'permissions' => array(
                        'title' => $txt['edit_permissions'],
                        'href' => $scripturl . '?action=admin;area=permissions',
                        'show' => allowedTo('manage_permissions'),
),
'filemanager' => array(
'title' => $txt['fm_adminbutton'],
'href' => $scripturl . '?action=admin;area=filemanager',
'show' => allowedTo('admin_forum'),
                        'is_last' => true,
                    ),
I love cheese cake.

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11937
  • Gender: Male
  • View Gallery
Re: Broken Bits and Pieces!
« Reply #10 on: September 08, 2010, 05:25:05 PM »
Installed the edit and the file manager seems to work OK, but there are errors in the log and there is a big white space at the top of the file manager cp page.
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11937
  • Gender: Male
  • View Gallery
Re: Broken Bits and Pieces!
« Reply #11 on: September 08, 2010, 05:46:27 PM »
Found a discussion on the issue HERE.

Not seeing any kind of resolution though... Arantor is no longer a member on SMF, so I'll have a look on his site to see if any help can be found.

Whoops! Looks like Nas was the mod author, so I'll have to see if he will update or fix the mod.

EDIT: Tried the Package Parser on SMF and it is saying that the package will not work with SMF2 RC1.   :opps:
« Last Edit: September 08, 2010, 05:51:30 PM by Ken »
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline IchBin?

Re: Broken Bits and Pieces!
« Reply #12 on: September 08, 2010, 05:51:19 PM »
For the blank part of the page, look index.css around line 1690 find the #messageindex section and either comment out or remove the clear: both; section. Test your theme on a few pages to make sure that it doesn't affect any other pages. If so let me know.
I love cheese cake.

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11937
  • Gender: Male
  • View Gallery
Re: Broken Bits and Pieces!
« Reply #13 on: September 08, 2010, 05:52:47 PM »
See my edit above Brad... maybe we won't be able to use this file mgt mod until Nas updates it?
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11937
  • Gender: Male
  • View Gallery
Re: Broken Bits and Pieces!
« Reply #14 on: September 08, 2010, 06:04:06 PM »
For the blank part of the page, look index.css around line 1690 find the #messageindex section and either comment out or remove the clear: both; section. Test your theme on a few pages to make sure that it doesn't affect any other pages. If so let me know.

That worked... not seeing any issues with other pages so far.
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.