[Beta] Zodiacs 0.1.1

MOD Authors: Discuss and post updates on new MODs in development for phpBB3, Receive feedback and Feature requests for MODs in development.

To submit your MOD or style, go to the STG MOD Manager
Forum rules
go to the STG MOD Manager to post your MOD in development.
Discuss and receive feedback for any MOD in development for phpBB3.
Suggest features for MODs in development.

No Support or MOD Requests
-- exceptions for MODs only posted here as Beta or Alpha.
Support requests for a MOD should be requested in the respective MOD topic.

Re: [Beta] Zodiacs 0.1.1

Postby eviL3 » 11 Jul 2007, 06:06

Wow, nice! :)
Image
User avatar
eviL3    
MOD Author
MOD Author
 
Posts: 1002
Joined: 05 Nov 2006, 08:14
Location: Cooking in the MODs kitchen
Gender: Male


Re: [Beta] Zodiacs 0.1.1

Postby Brandon7 » 24 Mar 2008, 15:00

Does this mod work on phpbb 3 gold?
Brandon7    
Ensign
Ensign
 
Posts: 71
Joined: 21 Dec 2007, 11:32
Location: United States
Favorite Team: Seattle Seahawks
Gender: Male
phpBB Knowledge: 5

Re: [Beta] Zodiacs 0.1.1

Postby bordercollie » 27 Jun 2008, 07:44

Hi!

Please, can you tell me where I can download this MOD? The link in the forst post is down.... :cry:

Thanks in advance
bordercollie
User avatar
bordercollie    
Crewman
Crewman
 
Posts: 9
Joined: 27 Jun 2008, 07:39
Location: Vienna/Austria
Gender: Female
phpBB Knowledge: 3

Re: [Beta] Zodiacs 0.1.1

Postby eviL3 » 27 Jun 2008, 11:02

You can get it from here for now.

http://trac2.assembla.com/evilmods/brow ... tags/0.1.1

If you know how to use SVN it's easier.
Image
User avatar
eviL3    
MOD Author
MOD Author
 
Posts: 1002
Joined: 05 Nov 2006, 08:14
Location: Cooking in the MODs kitchen
Gender: Male

Re: [Beta] Zodiacs 0.1.1

Postby bordercollie » 01 Jul 2008, 00:50

Thank You so much! I'm working with PSPad and also no probs with the download ;)
Only a last question: where to put the zodiac-images (root/images) or (root/images/zodiac). I didn't find any path for the GIFs.

Thanks
bordercollie

P.S.: Here you can get a lot of nice zodiac images:
http://www.astrologix.de/iconlib/
User avatar
bordercollie    
Crewman
Crewman
 
Posts: 9
Joined: 27 Jun 2008, 07:39
Location: Vienna/Austria
Gender: Female
phpBB Knowledge: 3

Re: [Beta] Zodiacs 0.1.1

Postby eviL3 » 01 Jul 2008, 11:51

styles/<stylename>/imageset/
Image
User avatar
eviL3    
MOD Author
MOD Author
 
Posts: 1002
Joined: 05 Nov 2006, 08:14
Location: Cooking in the MODs kitchen
Gender: Male

Re: [Beta] Zodiacs 0.1.1

Postby bordercollie » 01 Jul 2008, 11:59

Thanks a lot!
User avatar
bordercollie    
Crewman
Crewman
 
Posts: 9
Joined: 27 Jun 2008, 07:39
Location: Vienna/Austria
Gender: Female
phpBB Knowledge: 3

Re: [Beta] Zodiacs 0.1.1

Postby bordercollie » 02 Jul 2008, 07:53

Hi evil3!

I installed this MOD, images (icon_zodiac_xxxxx.gif) are ->styles/subsilver2/imageset.
I cleaned Cache, refreshed the template, refreshed the images collection, refreshed cache of my browser....no pics.

In viewtopic you can see only Zodiac: xxxxx below the Avatar and the location, that appears correctly.But no Zodiac-image.

I have to say that I have also installed Prime Birthdate Require-Mod (some days ago), but I think this should not cause any problem.

In the memberlist.php and viewtopic it looks like this - I think that here I made the mistake

Code: Select all
         $age = (int) ($now['year'] - $bday_year - $diff);
//-- mod: Prime Birthdate ---------------------------------------------------//
         if (!isset($data['user_show_age']))
         {
            global $db;
            $result = $db->sql_query('SELECT user_show_age FROM ' . USERS_TABLE . ' WHERE user_id = ' . $user_id);
            $row = $db->sql_fetchrow($result);
            $db->sql_freeresult($result);
            $data['user_show_age'] = $row['user_show_age'];
         }
         $age = (empty($data['user_show_age']) || ($data['user_show_age'] & 0x01) == 0) ? '' : $age;
//-- end: Prime Birthdate ---------------------------------------------------//

      }
//-- mod : Zodiacs ------------------------------------------------------------
//-- add
      $zodiac      = get_user_zodiac($bday_day, $bday_month);
      $zodiac_img   = get_user_zodiac($bday_day, $bday_month, false);
//-- fin mod : Zodiacs --------------------------------------------------------
   }


This is your install instrucion:
Find:


$age = (int) ($now['year'] - $bday_year - $diff);
}
------------------------------------------------------------------------------------------
Add after:

//-- mod : Zodiacs ------------------------------------------------------------
//-- add
$zodiac = get_user_zodiac($bday_day, $bday_month);
$zodiac_img = get_user_zodiac($bday_day, $bday_month, false);
//-- fin mod : Zodiacs --------------------------------------------------------


bye
bordercollie
User avatar
bordercollie    
Crewman
Crewman
 
Posts: 9
Joined: 27 Jun 2008, 07:39
Location: Vienna/Austria
Gender: Female
phpBB Knowledge: 3

Re: [Beta] Zodiacs 0.1.1

Postby bordercollie » 03 Jul 2008, 05:15

Hi!

I also tried this in viewtopic_body.html:

<!-- IF postrow.POSTER_ZODIAC --><br /><b>{L_ZODIAC}:</b> {postrow.POSTER_ZODIAC}<br /> {postrow.POSTER_ZODIAC_IMG}<!-- ENDIF -->

But again no picture shown, only once more the written word - for example "taurus".

Do you have any idea to solve this problem?

Thanks
bordercollie
User avatar
bordercollie    
Crewman
Crewman
 
Posts: 9
Joined: 27 Jun 2008, 07:39
Location: Vienna/Austria
Gender: Female
phpBB Knowledge: 3

Re: [Beta] Zodiacs 0.1.1

Postby bordercollie » 05 Jul 2008, 06:08

Hallo!

Ok, Dakota solved the problem! For those who also want to get the correct images in profile and viewtopic:

Change the code in language/en/common.php to:

//-- mod : Zodiacs ------------------------------------------------------------
//-- add
$lang = array_merge($lang, array(
'ZODIAC' => 'Zodiac',
'ZODIACS' => array(

'<img src="path to your forum/styles/yourstyle/imageset/icon_zodiac_capricorn.gif">',
'<img src="path to your forum/styles/yourstyle/imageset/icon_zodiac_aquarius.gif">',
'<img src="path to your forum/styles/yourstyle/imageset/icon_zodiac_pisces.gif">',
'<img src="path to your forum/styles/yourstyle/imageset/icon_zodiac_aries.gif">',
'<img src="path to your forum/styles/yourstyle/imageset/icon_zodiac_taurus.gif">',
'<img src="path to your forum/styles/yourstyle/imageset/icon_zodiac_gemini.gif">',
'<img src="path to your forum/styles/yourstyle/imageset/icon_zodiac_cancer.gif">',
'<img src="path to your forum/styles/yourstyle/imageset/icon_zodiac_leo.gif">',
'<img src="path to your forum/styles/yourstyle/imageset/icon_zodiac_virgo.gif">',
'<img src="path to your forum/styles/yourstyle/imageset/icon_zodiac_libra.gif">',
'<img src="path to your forum/styles/yourstyle/imageset/icon_zodiac_scorpio.gif">',
'<img src="path to your forum/styles/yourstyle/imageset/icon_zodiac_sagittarius.gif">',
'<img src="path to your forum/styles/yourstyle/imageset/icon_zodiac_capricorn.gif">',

),
));
//-- fin mod : Zodiacs --------------------------------------------------------


You have to change this for your language (de, nl or whatever) also and it works! :yahoo:

greetings
bordercollie
User avatar
bordercollie    
Crewman
Crewman
 
Posts: 9
Joined: 27 Jun 2008, 07:39
Location: Vienna/Austria
Gender: Female
phpBB Knowledge: 3

PreviousNext

Return to MODs in Development

Who is online

Users browsing this forum: No registered users and 6 guests