Welcome, Guest. Please Login or Register.
November 28, 2024, 05:45:07 PM
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 1.5.1] Skins mod advanced « previous next »
Pages: 1 2 3 [4] 5 6 ... 9 Reply Ignore Print
Author Topic: [Done 1.5.1] Skins mod advanced  (Read 46054 times)
Surfy
Sr. Member
****
Posts: 458


I'm a llama!

Re:[Done 1.5.1] Skins mod advanced
« Reply #45 on: April 15, 2003, 01:42:54 PM »
Reply with quote

I run into trouble...

Quote2: mysql_fetch_array(): supplied argument is not a valid MySQL result resource
(c:\inetpub\wwwroot\se\Sources\Subs.php ln 868)

its a clean YabbSe 1.5.1

I run the DB Script, and does all things in the readme..

Surfy
« Last Edit: April 15, 2003, 03:48:51 PM by Surfy » Logged
Horseman
YaBB God
*****
Posts: 784


'MAS VALE CABALLO QUE CAUDAL!'

ICQ - 44729151 WWW
Re:[Done 1.5.1] Skins mod advanced
« Reply #46 on: April 15, 2003, 02:37:27 PM »
Reply with quote

@chris

my forum has 3 languages, English, German and dutch.
does your skin mod also change the buttons to the suitable language?

folder skins/blue/yabbimages/german  (or dutch)
Logged
Chris Cromer
The Strange One
Mod Team
YaBB God
*****
Posts: 3152


I am just a figment of your imagination.

WWW
Re:[Done 1.5.1] Skins mod advanced
« Reply #47 on: April 15, 2003, 04:12:02 PM »
Reply with quote

I havn't really tested it out with other languages... testing will be up to you guys who have multiple languages. :-\

Surfy, could you tell me what line is 868 and maybe about 3 lines before 868.
Logged

Chris Cromer

I am not suffering from insanity, I am enjoying every minute of it.
Surfy
Sr. Member
****
Posts: 458


I'm a llama!

Re:[Done 1.5.1] Skins mod advanced
« Reply #48 on: April 15, 2003, 07:57:57 PM »
Reply with quote

Quoteif ($enableSmilies)
      $message = parsesmilies($message);

   $message = parsecode($message);

   // List items
   $itemcode = array(
      '*' => '',
      '@' => ' type="disc"',
      '+' => ' type="square"',
      'x' => ' type="square"',
      '#' => ' type="square"',
      'o' => ' type="circle"',
      '0' => ' type="circle"');
   $message = preg_replace("!\\[([*@+x#o0])\\]!Uie", '\'<li\'.$itemcode[\'\\1\'].\'>\'', $message);

   return $message;

}

I have    if ($enableSmilies)
      $message = parsesmilies($message);

   $message = parsecode($message);

   // List items
   $itemcode = array(
      '*' => '',
      '@' => ' type="disc"',
      '+' => ' type="square"',
      'x' => ' type="square"',
      '#' => ' type="square"',
      'o' => ' type="circle"',
      '0' => ' type="circle"');
   $message = preg_replace("!\\[([*@+x#o0])\\]!Uie", '\'<li\'.$itemcode[\'\\1\'].\'>\'', $message);

   return $message;

Hmm, is this YaBB code, or yor mod? Thx for your help

Surfy
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Done 1.5.1] Skins mod advanced
« Reply #49 on: April 15, 2003, 09:27:54 PM »
Reply with quote

How can that be the line causing the problem when there is no mysql_ anything there?

-[Unknown]
Logged
Chris Cromer
The Strange One
Mod Team
YaBB God
*****
Posts: 3152


I am just a figment of your imagination.

WWW
Re:[Done 1.5.1] Skins mod advanced
« Reply #50 on: April 18, 2003, 06:51:09 PM »
Reply with quote

Yeah, plus I don't alter anything anywhere near the smilies line. :P
Logged

Chris Cromer

I am not suffering from insanity, I am enjoying every minute of it.
Surfy
Sr. Member
****
Posts: 458


I'm a llama!

Re:[Done 1.5.1] Skins mod advanced
« Reply #51 on: April 18, 2003, 08:34:54 PM »
Reply with quote


Sorry, maybee there was something with another mod,..


I start again with a fresh yabb, it works now
Logged
Angel Skin
Full Member
***
Posts: 128


I'm a llama!

WWW
Re:[Done 1.5.1] Skins mod advanced
« Reply #52 on: April 23, 2003, 09:50:05 PM »
Reply with quote

I'm sure I'll get a few  ::)s point at me, but how do you add more templates?  I can only get one at the moment.
Logged
Chris Cromer
The Strange One
Mod Team
YaBB God
*****
Posts: 3152


I am just a figment of your imagination.

WWW
Re:[Done 1.5.1] Skins mod advanced
« Reply #53 on: April 23, 2003, 11:52:04 PM »
Reply with quote

Go into the skins directory, copy the yabbse folder and give it the name of a skin you want. Then just alter the template and images in the NEW folder. Repeat these instructions to add more skins.
Logged

Chris Cromer

I am not suffering from insanity, I am enjoying every minute of it.
CokeCan
Full Member
***
Posts: 182


WWW
Re:[Done 1.5.1] Skins mod advanced
« Reply #54 on: May 04, 2003, 05:10:25 PM »
Reply with quote

This is really cool :)
But other site will start using my forum too, we need to have different skins for each site, also we want give the option to more skins so they can select them like this mod does. But besides that, is it posible to have 2 skins for the forum? you know if one gets in the forum from one site he will see that site's skin and if he gets in from the other site he will have a different one (they don't need to have the same URL)

Thanks in advanced! ;)
« Last Edit: May 04, 2003, 05:11:29 PM by CokeCan » Logged
Chris Cromer
The Strange One
Mod Team
YaBB God
*****
Posts: 3152


I am just a figment of your imagination.

WWW
Re:[Done 1.5.1] Skins mod advanced
« Reply #55 on: May 05, 2003, 12:52:47 AM »
Reply with quote

Sorry I don't plan to alter my mod atm, so unless someone wants to give you some modifications to my mod to do so, you might have to do this yourself.
Logged

Chris Cromer

I am not suffering from insanity, I am enjoying every minute of it.
Valconeye
Full Member
***
Posts: 190


Re:[Done 1.5.1] Skins mod advanced
« Reply #56 on: May 05, 2003, 09:52:38 PM »
Reply with quote

installs fine, BUT when i goto my profile everything is cleared and i fill it all out and save, then i goto my profile again and its all cleared again.
Logged
Chris Cromer
The Strange One
Mod Team
YaBB God
*****
Posts: 3152


I am just a figment of your imagination.

WWW
Re:[Done 1.5.1] Skins mod advanced
« Reply #57 on: May 05, 2003, 10:18:28 PM »
Reply with quote

Did you run the skinsdb.php file?
Logged

Chris Cromer

I am not suffering from insanity, I am enjoying every minute of it.
Valconeye
Full Member
***
Posts: 190


Re:[Done 1.5.1] Skins mod advanced
« Reply #58 on: May 05, 2003, 10:22:22 PM »
Reply with quote

yes, could this be a problem because im running 1.5.2
« Last Edit: May 05, 2003, 10:23:39 PM by Valconeye » Logged
Chris Cromer
The Strange One
Mod Team
YaBB God
*****
Posts: 3152


I am just a figment of your imagination.

WWW
Re:[Done 1.5.1] Skins mod advanced
« Reply #59 on: May 05, 2003, 11:05:27 PM »
Reply with quote

I don't know if it works with 1.5.2 or not... although I doubt that has anything to do with it.

Did skinsdb.php give any errors or anything?

Also make sure the skin column exists in the members table and that the default skin settings rows are in the settings table.
Logged

Chris Cromer

I am not suffering from insanity, I am enjoying every minute of it.
Pages: 1 2 3 [4] 5 6 ... 9 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.5.1] Skins mod advanced « 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.053 seconds with 20 queries.