Welcome, Guest. Please login or register.

ShoutBox!

Scrubmeister

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

Skhilled

2024-04-18, 21:09:09
I've upgraded the server...more resources. ;)
 

Ken

2024-04-18, 20:57:10
Now that you mention it...  :D
 

Skhilled

2024-04-18, 20:47:19
...and, you should notice that the site is much faster.  :o
 

Ken

2024-04-18, 20:31:37
Hey Steve.
 

Skhilled

2024-04-18, 17:56:10
Re-read the message below...
 

Skhilled

2024-03-31, 15:22:06
Oh yeah, you need to upgrade the site first...
 

Ken

2024-03-30, 09:54:54
Whoops! I forgot that the SMF install here on OFF is out of date!  :'(
 

Ken

2024-03-30, 09:44:48
 Conga-Rats Steve!  :thumbup:
Me gonna install it here just for the fun of it!  :)
 

Skhilled

2024-03-29, 22:15:23
Released!  :D

Recent Topics

TP Articles


Search in titles
Search in article texts

Author Topic: Themes & Packages  (Read 7569 times)

0 Members and 1 Guest are viewing this topic.

Offline ZarPrime

  • [R.I.P]
  • *****
  • Posts: 75
  • Gender: Male
    • Tales of The Haven Expanse
Re: Themes & Packages
« Reply #30 on: February 13, 2014, 12:18:28 PM »
OK, the Users Online 2.0.3 is installed.

Hmmm, seems to be a problem with it using this WorkDesk3 theme Ken, probably missing some edits or something.

Jim

Offline ZarPrime

  • [R.I.P]
  • *****
  • Posts: 75
  • Gender: Male
    • Tales of The Haven Expanse
Re: Themes & Packages
« Reply #31 on: February 13, 2014, 12:21:34 PM »
Hmmm, my avatar seems to be missing as well.  I thought that I uploaded it but maybe I didn't.

Jim

Offline Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11675
  • Gender: Male
Re: Themes & Packages
« Reply #32 on: February 13, 2014, 01:56:03 PM »
There are problems and issues throughout, but I've not felt up to spending extended periods of time sorting through the code in the various packages, files, ect. to get it sorted out. As mentioned elsewhere, my mental skills have diminished somewhat of late... not trying to sound pitiful, but suffice to say 2013 was a little rough on my old ass.  wink1
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline ZarPrime

  • [R.I.P]
  • *****
  • Posts: 75
  • Gender: Male
    • Tales of The Haven Expanse
Re: Themes & Packages
« Reply #33 on: February 13, 2014, 01:59:08 PM »
2013 was pretty rough for me as well Ken, as well as January, 2014. :P On the Users Online Today Mod, here's the deal.  The following file operations didn't get done during the install.  Those files shown below contain the missing language strings ...

Quote
Move the included file "lang/UsersOnlineToday.english.php" to "./Themes/default/languages".
Move the included file "lang/UsersOnlineToday.english-utf8.php" to "./Themes/default/languages".
Move the included file "lang/UsersOnlineToday.danish.php" to "./Themes/default/languages".
Move the included file "lang/UsersOnlineToday.danish-utf8.php" to "./Themes/default/languages".
Move the included file "lang/UsersOnlineToday.portuguese_brazilian.php" to "./Themes/default/languages".
Move the included file "lang/UsersOnlineToday.portuguese_brazilian-utf8.php" to "./Themes/default/languages".
Move the included file "lang/UsersOnlineToday.portuguese_pt.php" to "./Themes/default/languages".
Move the included file "lang/UsersOnlineToday.portuguese_pt-utf8.php" to "./Themes/default/languages".
Move the included file "lang/UsersOnlineToday.hungarian.php" to "./Themes/default/languages".
Move the included file "lang/UsersOnlineToday.hungarian-utf8.php" to "./Themes/default/languages".
Move the included file "lang/UsersOnlineToday.german.php" to "./Themes/default/languages".
Move the included file "lang/UsersOnlineToday.german-utf8.php" to "./Themes/default/languages".
Move the included file "lang/UsersOnlineToday.spanish.php" to "./Themes/default/languages".
Move the included file "lang/UsersOnlineToday.spanish-utf8.php" to "./Themes/default/languages".
Move the included file "lang/UsersOnlineToday.spanish_latin.php" to "./Themes/default/languages".
Move the included file "lang/UsersOnlineToday.spanish_latin-utf8.php" to "./Themes/default/languages".
Move the included file "lang/UsersOnlineToday.dutch.php" to "./Themes/default/languages".
Move the included file "lang/UsersOnlineToday.dutch-utf8.php" to "./Themes/default/languages".
Move the included file "lang/UsersOnlineToday.croatian.php" to "./Themes/default/languages".
Move the included file "lang/UsersOnlineToday.croatian-utf8.php" to "./Themes/default/languages".
Move the included file "lang/UsersOnlineToday.serbian_latin.php" to "./Themes/default/languages".
Move the included file "lang/UsersOnlineToday.serbian_latin-utf8.php" to "./Themes/default/languages".
Move the included file "lang/UsersOnlineToday.russian.php" to "./Themes/default/languages".
Move the included file "lang/UsersOnlineToday.russian-utf8.php" to "./Themes/default/languages".
Move the included file "lang/UsersOnlineToday.finnish.php" to "./Themes/default/languages".
Move the included file "lang/UsersOnlineToday.finnish-utf8.php" to "./Themes/default/languages".
Move the included file "lang/UsersOnlineToday.turkish.php" to "./Themes/default/languages".
Move the included file "lang/UsersOnlineToday.turkish-utf8.php" to "./Themes/default/languages".
Move the included file "lang/UsersOnlineToday.persian.php" to "./Themes/default/languages".
Move the included file "lang/UsersOnlineToday.persian-utf8.php" to "./Themes/default/languages".

Since you are only using only English here, the only one that is required is the one I bold-faced above ...

Quote
Move the included file "lang/UsersOnlineToday.english.php" to "./Themes/default/languages".

That file is missing from the default theme, Curve, as well as from the Workdesk3 and Argentum theme.  However, it should only need to get copied to the default languages folder and the other edits should read those themestrings from there.  I don't know why those file operations didn't get done during your install of the Mod, unless you installed it manually or something and forgot to move those files.

Jim

Offline Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11675
  • Gender: Male
Re: Themes & Packages
« Reply #34 on: February 13, 2014, 02:33:57 PM »
Thanks for that ZP.  :thumbup:
Made  that file upload and it appears to work correctly in WorkDesk3 now, but it not showing up at all in the other themes.
My guess is that it needs a manual install to get it corrected for all themes.
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline ZarPrime

  • [R.I.P]
  • *****
  • Posts: 75
  • Gender: Male
    • Tales of The Haven Expanse
Re: Themes & Packages
« Reply #35 on: February 13, 2014, 07:12:08 PM »
You're probably right Ken.  I've actually been looking at the other themes, or at least Argentum2.  The problem with that one might be that Bloc's BoardIndex.template.php for that theme doesn't have the necessary line that the Mod needs to insert the correct code.  For that reason, the install would have failed even if you had tried to install it with the Package Manager.  I'll explain that tomorrow a little better but that's enough for tonight.

BTW, you are aware that you have that Argentum2 theme installed twice, right?  One is theme #81 and the other one is theme #93, I believe.  At least I think it is without looking again.

Jim

Offline Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11675
  • Gender: Male
Re: Themes & Packages
« Reply #36 on: February 13, 2014, 08:02:01 PM »
The duplicate issue comes about (I think) because of this current version of OFF is setup with new SMF files and new TinyPortal files but has the last available database copy installed and that is from December 2012.

The database is good in that it gives us all of the old posts, member base and other historical content (like TP articles, ect.) however... at the same time the database looks for stuff that is no longer there, or not installed correctly as in the case of Users Online Today.

EDIT: We should probably deleted all of the outdated themes so the database stops looking for them.
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Skhilled

  • Administrator
  • *
  • Posts: 9007
  • Gender: Male
  • All of my passwords are protected by amnesia...
    • Buildz Hosting
Re: Themes & Packages
« Reply #37 on: February 14, 2014, 08:18:01 AM »
The ones that are not working are due to them not being removed from SMF in the admin not the db. The db does not look for anything but holds the info. SMF is looking for it cause it show it is installed and was not deleted. Also, when you delete a theme, the folder for it on the server is not deleted and must be done manually. That is probably why the theme shows twice.

I've deleted the FTP info for your hosting so I can't see the files.

Offline ZarPrime

  • [R.I.P]
  • *****
  • Posts: 75
  • Gender: Male
    • Tales of The Haven Expanse
Re: Themes & Packages
« Reply #38 on: February 14, 2014, 11:10:31 AM »
Yeah, the duplicate theme folder for Argentum2 should probably be deleted, if for no other reason, to avoid doing double work. :happy1:

Jim

Offline Skhilled

  • Administrator
  • *
  • Posts: 9007
  • Gender: Male
  • All of my passwords are protected by amnesia...
    • Buildz Hosting
Re: Themes & Packages
« Reply #39 on: February 14, 2014, 11:32:15 AM »
Those always confuse me when I go to look at the folders later. LOL

EDIT: Got over 1300 errors in the log. Most appear to be TP-related...
« Last Edit: February 14, 2014, 11:38:55 AM by Skhilled »

Offline Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11675
  • Gender: Male
Re: Themes & Packages
« Reply #40 on: February 14, 2014, 01:16:49 PM »
Those always confuse me when I go to look at the folders later. LOL

EDIT: Got over 1300 errors in the log. Most appear to be TP-related...

This latest version of TP has some issues that Brad is working on... I haven't been following along too closely, guess I had better check on the current status.

I'll set up another ftp account.
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Skhilled

  • Administrator
  • *
  • Posts: 9007
  • Gender: Male
  • All of my passwords are protected by amnesia...
    • Buildz Hosting
Re: Themes & Packages
« Reply #41 on: February 14, 2014, 03:18:47 PM »
But I do not have those...unless you are talking about the unreleased version yet to come...

Did you install TP first before other mods? It is always best to do that first...largest mods first.

Offline Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11675
  • Gender: Male
Re: Themes & Packages
« Reply #42 on: February 14, 2014, 04:39:54 PM »
It's an unreleased version I think.

It may end up needing a reload of the SMF files and then TP and the other Mods after that... but maybe we should wait until this latest TP goes public.
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11675
  • Gender: Male
Re: Themes & Packages
« Reply #43 on: February 15, 2014, 05:11:25 PM »
Did a manual install for the Users Online Today Mod and it's now working in all themes except for Argentum2...
The code for the 'BoardIndex.template.php' file was missing and once it was added to the file the Mod seems to work OK.
That was very difficult for me to do, my mind was jumping around some, need to focus better when doing code.  :o

Deleted all of the broken themes and the duplicate of Argentum2.

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

Offline Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11675
  • Gender: Male
Re: Themes & Packages
« Reply #44 on: February 15, 2014, 05:31:42 PM »
Fixed Online Today in the Argentum2 theme!  :happy1:

The code for the 'BoardIndex.template.php' had to be added to the themes own copy of that file because it was not picking it up from the Default theme. The display has it showing above the area where it should be, but I'm not going to try to move the code to correct... it works, so it's OK as is.

Code: [Select]
<file name="$themedir/BoardIndex.template.php">
<operation>
<search position="after"><![CDATA[// If they are logged in, but statistical information is off... show a personal message bar.
]]></search>
<add><![CDATA[ // Users Online Today
echo '
<div class="title_barIC">
<h4 class="titlebg">
<span class="ie6_header floatleft">
<img class="icon" src="', $settings['images_url'], '/icons/online.gif', '" alt="', $txt['online_users'], '" />', $txt['uot_users_online_'.$modSettings['uot_setting_period']], '
</span>
</h4>
</div>
<p class="inline smalltext">';
echo
$txt['uot_total'], ': <b>', $context['num_users_online_today'], '</b>';

if ($context['viewing_allowed'])
echo
' (', $txt['uot_visible'], ': ', ($context['num_users_online_today'] - $context['num_users_hidden_today']), ', ', $txt['uot_hidden'], ': ', $context['num_users_hidden_today'], ')';

// Assuming there ARE users online... each user in users_online has an id, username, name, group, href, and link.
if (!empty($context['users_online_today']) && $context['viewing_allowed'])
{
echo
'<br />', implode(', ', $context['list_users_online_today']);
}
echo '
</p>';
]]>
</add>
</operation>
</file>
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.