Welcome, Guest. Please Login or Register.
April 27, 2025, 08:45:12 AM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Completed mods  |  [Done] Skin mod « previous next »
Pages: 1 2 [3] 4 5 Reply Ignore Print
Author Topic: [Done] Skin mod  (Read 8783 times)
Chris Cromer
The Strange One
Mod Team
YaBB God
*****
Posts: 3152


I am just a figment of your imagination.

WWW
Re:[Done] Skin mod
« Reply #30 on: May 20, 2002, 08:48:17 PM »
Reply with quote

Well until I get Skins.php back into the zip, just use the code pasted here earlier.
Logged

Chris Cromer

I am not suffering from insanity, I am enjoying every minute of it.
lenaP
Jr. Member
**
Posts: 97


Well well...

Re:[Done] Skin mod
« Reply #31 on: May 20, 2002, 09:18:52 PM »
Reply with quote

Yes I did that, and I don't think the problem is there.

I can't save from modsettings with this mod installed, not skins or anything at all (and it doesn't "take" the deafalt skin either). If I uninstall the mod it's fine again.

I'd checked everything, every file is where it's suppused to be, the tables seems correcet, and I've tried to read som of the code.

And I just wonder... isn't there supposed to be something about skins in function ModifyModSettings() in ModSettings.php?

I might be all wrong, but it seems logical to me...
But then again, if there's other people with this mod working, it can't be wrong, I guess...
Logged
Chris Cromer
The Strange One
Mod Team
YaBB God
*****
Posts: 3152


I am just a figment of your imagination.

WWW
Re:[Done] Skin mod
« Reply #32 on: May 20, 2002, 09:46:52 PM »
Reply with quote

Yes there is stuff in the ModSettings.php. Did you upload ModSettings.php to your source directory?

Also did you make sure to open Skinsdb.php and change the variable to your boards location?
Logged

Chris Cromer

I am not suffering from insanity, I am enjoying every minute of it.
lenaP
Jr. Member
**
Posts: 97


Well well...

Re:[Done] Skin mod
« Reply #33 on: May 20, 2002, 10:01:19 PM »
Reply with quote

Since I run this testboard locally, I don't have to upload them, so that must be correct. And the variables in the table are correct, I changed it in the db-file and checked it after.

And there are changes in ModSetting.php, but not in that function, shouldn't i be something there?

edit:
Or do you think the problem can be the fact that I run this board locally?
Seems strange, everything else works fine...

edit again:
I didn't read that file well, now I see the entire file is on function... I think, I'm getting very sleepy now...
But I mean ins this part of the function:
   global $txt,$img,$yytitle,$cgi,$imagesdir,$color,$mtxt,$modSettings,$db_prefix;
   $yytitle = $txt['yse2'];
   template_header();
   $stickyTopicsChecked = ($modSettings['enableStickyTopics']=='1')?' checked':'';
   $titlesEnableChecked = ($modSettings['titlesEnable']=='1')?' checked':'';
   $onlineEnableChecked = ($modSettings['onlineEnable']=='1')?' checked':'';
   $todayModChecked = ($modSettings['todayMod']=='1')?' checked':'';
   $previousNextModChecked = ($modSettings['enablePreviousNext']=='1')?' checked':'';
   $enableVBStyleLoginChecked = ($modSettings['enableVBStyleLogin'] == '1')?' checked':'';
   $enableCompressedOutputChecked = ($modSettings['enableCompressedOutput'] == '1')?' checked':'';
   $disableCachingChecked = ($modSettings['disableCaching'] == '1')?' checked':'';
   $enableInlineLinksChecked = ($modSettings['enableInlineLinks'] == '1')?' checked':'';
   $enableSP1Info = ($modSettings['enableSP1Info'] == '1')?' checked':'';
   $enableUserTopicLockingChecked = ($modSettings['enableUserTopicLocking'] == '1')?' checked':'';
   $enableReportToModChecked = ($modSettings['enableReportToMod'] == '1')?' checked':'';
   $enableErrorLoggingChecked = ($modSettings['enableErrorLogging'] == '1')?' checked':'';
   $enableViewNewestFirstChecked = ($modSettings['viewNewestFirst'] == '1')?' checked':'';
     $enableUserLanguageChecked = ($modSettings['userLanguage'] == '1')?' checked':'';
      $enableTrackStatsChecked = ($modSettings['trackStats'] == '1')?' checked':'';
       $enableHitStatsChecked = ($modSettings['hitStats'] == '1')?' checked':'';


   $pollModeDisabled = ($modSettings['pollMode']=='0')?' selected':'';
   $pollModeEnabled = ($modSettings['pollMode']=='1')?' selected':'';
   $pollModeTopics = ($modSettings['pollMode']=='2')?' selected':'';

   $pollRestrictionsNone = ($modSettings['pollPostingRestrictions']=='0')?' selected':'';
   $pollRestrictionsAdminOnly = ($modSettings['pollPostingRestrictions']=='1')?' selected':'';

   $pollEditModeAdmin = ($modSettings['pollEditMode']=='0')?' selected':'';
   $pollEditModeMods = ($modSettings['pollEditMode']=='1')?' selected':'';
   $pollEditModeStarter = ($modSettings['pollEditMode']=='2')?' selected':'';

   $karmaModeDisabled = ($modSettings['karmaMode']=='0')?' selected':'';
   $karmaModeTotal = ($modSettings['karmaMode']=='1')?' selected':'';
   $karmaModePosNeg = ($modSettings['karmaMode']=='2')?' selected':'';
   $karmaModes = explode("|",$txt['yse64']);
   $karmaLabels = explode("|",$txt['yse69']);
   $karmaTRAChecked = ($modSettings['karmaTimeRestrictAdmins'] == '1')?' checked':'';
   $karmaMemberGroups = implode(",",$modSettings['karmaMemberGroups']);

   //Attachment variables added by Meriadoc 12/11/2001
   $attachModeDisabled = ($modSettings['attachmentEnable']=='0')?' selected':'';
   $attachModeEnable = ($modSettings['attachmentEnable']=='1')?' selected':'';
   $attachModeNoNew = ($modSettings['attachmentEnable']=='2')?' selected':'';
   $attachModes = explode("|",$txt['yse111']);
   $attachCheckExten = ($modSettings['attachmentCheckExtensions']=='1')?' checked':'';
   $attachGuest = ($modSettings['attachmentEnableGuest']=='1')?' checked':'';
   $attachShow = ($modSettings['attachmentShowImages']=='1')?' checked':'';

   $notifyAnncmnts_UserDisable = ($modSettings['notifyAnncmnts_UserDisable']=='1')?' checked':'';
   $censorWholeWordChecked = ($modSettings['censorWholeWord']=='1')?' checked':'';
   $compactTopicPagesChecked = ($modSettings['compactTopicPagesEnable']=='1')?' checked':'';

Since everything other mod is in here, shouldn't skins mod be there to?
Or have I got it all wrong now?
« Last Edit: May 20, 2002, 10:10:05 PM by lenaP » Logged
lenaP
Jr. Member
**
Posts: 97


Well well...

Re:[Done] Skin mod
« Reply #34 on: May 20, 2002, 10:47:18 PM »
Reply with quote

I just found one thing that might be a clue...
The code <?
global $sourcedir;
include_once("$sourcedir/Skins.php");
?>
in template.php is when looking at the source code of a page translated to<link rel="STYLESHEET" type="text/css" href="http://localhost/yabb/Skins/Array
/skin.css">
I guess you can get something out of that?
I can't. At least not tonight. Going to bed now... zzzz...
Logged
CarLBanks
Noobie
*
Posts: 16


I'm a llama!

Re:[Done] Skin mod
« Reply #35 on: December 17, 2002, 06:45:57 PM »
Reply with quote

how can I download the script? I love it! I want it!
Logged
Thunderace
Full Member
***
Posts: 211


I'm a llama!

Re:[Done] Skin mod
« Reply #36 on: December 17, 2002, 07:03:36 PM »
Reply with quote

see post 1
Logged
CarLBanks
Noobie
*
Posts: 16


I'm a llama!

Re:[Done] Skin mod
« Reply #37 on: December 17, 2002, 07:29:10 PM »
Reply with quote

The link in post 1 DOSEN'T WORK! I wouldn't be asking if it worked.
Logged
Chris Cromer
The Strange One
Mod Team
YaBB God
*****
Posts: 3152


I am just a figment of your imagination.

WWW
Re:[Done] Skin mod
« Reply #38 on: December 17, 2002, 07:47:00 PM »
Reply with quote

My server went down, the db and the files where erased, please be patient until I can get all my mods back up again.
Logged

Chris Cromer

I am not suffering from insanity, I am enjoying every minute of it.
CarLBanks
Noobie
*
Posts: 16


I'm a llama!

Re:[Done] Skin mod
« Reply #39 on: December 17, 2002, 08:15:20 PM »
Reply with quote

Ok. Phew! I thought you were out of mod business.
Logged
Narga
Noobie
*
Posts: 17


Light Of Dragon's eyes

WWW
Re:[Done] Skin mod
« Reply #40 on: December 19, 2002, 12:55:08 PM »
Reply with quote

broken links to download  :(
Logged

I try to make my forum to YabbSe support for Vietnamese.
My working process :72%
Chris Cromer
The Strange One
Mod Team
YaBB God
*****
Posts: 3152


I am just a figment of your imagination.

WWW
Re:[Done] Skin mod
« Reply #41 on: December 19, 2002, 01:57:43 PM »
Reply with quote

Read my previous post. ::)
Logged

Chris Cromer

I am not suffering from insanity, I am enjoying every minute of it.
Chris Cromer
The Strange One
Mod Team
YaBB God
*****
Posts: 3152


I am just a figment of your imagination.

WWW
Re:[Done] Skin mod
« Reply #42 on: December 19, 2002, 02:12:52 PM »
Reply with quote

Does anyone have my skins mod? Apparently I don't have a copy of it on my hard drive.
Logged

Chris Cromer

I am not suffering from insanity, I am enjoying every minute of it.
Aether
Jr. Member
**
Posts: 96


The n00b has entered the building!

Re:[Done] Skin mod
« Reply #43 on: December 19, 2002, 09:02:24 PM »
Reply with quote

Quote from: Chris Cromer on December 19, 2002, 02:12:52 PMDoes anyone have my skins mod? Apparently I don't have a copy of it on my hard drive.

NOOOOOOOOOOO!!!!!!!!!

I've been wanting this mod for ages...  :( :'(

Well, I can always hope someone has it...  :-[ :-\
Logged

Got rid of n00b ranking, cause I'd go off the scale ::)
CokeCan
Full Member
***
Posts: 182


WWW
Re:[Done] Skin mod
« Reply #44 on: December 22, 2002, 12:05:34 AM »
Reply with quote

Can you plz upload it somewhere?
I want it too!!
Logged
Pages: 1 2 [3] 4 5 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Done] Skin mod « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.034 seconds with 16 queries.