Genders 1.0.0

MODs, Hacks, tips and tricks for memberlist, profiles, group members, and team members.
Custom Profile fields Hacks and MODs are also included

Re: [Beta] Genders 0.1.0

Postby eviL3 » 29 Apr 2007, 08:47

You left everything es it is, and now the male gender image isn't displayed?
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] Genders 0.1.0

Postby hans » 29 Apr 2007, 08:58

yeah, and the female too
hans
Cadet I
Cadet I
 
Posts: 15
Joined: 27 Apr 2007, 16:39
Gender: Male

Re: [Beta] Genders 0.1.0

Postby eviL3 » 29 Apr 2007, 09:27

Did you refresh your imagesets in ACP->Styles->Imagesets->Refresh 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] Genders 0.1.0

Postby hans » 29 Apr 2007, 11:01

Wow now appears that when i refresh:

Spoiler:
Code: Select all
General Error
SQL ERROR [ mysqli ]

Unknown column 'icon_gender_x' in 'field list' [1054]

SQL

UPDATE phpbb_styles_imageset SET site_logo = 'site_logo.gif*52*139', upload_bar = 'progress_bar.gif*16*280', poll_left = '', poll_center = '', poll_right = '', icon_friend = '', icon_foe = '', forum_link = 'forum_link.gif*27*27', forum_read = 'forum_read.gif*27*27', forum_read_locked = 'forum_read_locked.gif*27*27', forum_read_subforum = 'forum_read_subforum.gif*27*27', forum_unread = 'forum_unread.gif*27*27', forum_unread_locked = 'forum_read_locked.gif*27*27', forum_unread_subforum = 'forum_unread_subforum.gif*27*27', topic_moved = 'topic_moved.gif*27*27', topic_read = 'topic_read.gif*27*27', topic_read_mine = 'topic_read_mine.gif*27*27', topic_read_hot = 'topic_read_hot.gif*27*27', topic_read_hot_mine = 'topic_read_hot_mine.gif*27*27', topic_read_locked = 'topic_read_locked.gif*27*27', topic_read_locked_mine = 'topic_read_locked_mine.gif*27*27', topic_unread = 'topic_unread.gif*27*27', topic_unread_mine = 'topic_unread_mine.gif*27*27', topic_unread_hot = 'topic_unread_hot.gif*27*27', topic_unread_hot_mine = 'topic_unread_hot_mine.gif*27*27', topic_unread_locked = 'topic_unread_locked.gif*27*27', topic_unread_locked_mine = 'topic_unread_locked_mine.gif*27*27', sticky_read = 'sticky_read.gif*27*27', sticky_read_mine = 'sticky_read_mine.gif*27*27', sticky_read_locked = 'sticky_read.gif*27*27', sticky_read_locked_mine = 'sticky_read_mine.gif*27*27', sticky_unread = 'sticky_unread.gif*27*27', sticky_unread_mine = 'sticky_unread_mine.gif*27*27', sticky_unread_locked = 'sticky_unread.gif*27*27', sticky_unread_locked_mine = 'sticky_unread_locked_mine.gif*27*27', announce_read = 'announce_read.gif*27*27', announce_read_mine = 'announce_read_mine.gif*27*27', announce_read_locked = 'announce_read_locked.gif*27*27', announce_read_locked_mine = 'announce_read_locked_mine.gif*27*27', announce_unread = 'announce_unread.gif*27*27', announce_unread_mine = 'announce_unread_mine.gif*27*27', announce_unread_locked = 'announce_unread.gif*27*27', announce_unread_locked_mine = 'announce_unread_locked_mine.gif*27*27', global_read = 'announce_read.gif*27*27', global_read_mine = 'announce_read_mine.gif*27*27', global_read_locked = 'announce_read_locked.gif*27*27', global_read_locked_mine = 'announce_read_locked_mine.gif*27*27', global_unread = 'announce_unread.gif*27*27', global_unread_mine = 'announce_unread_mine.gif*27*27', global_unread_locked = 'announce_unread_locked_mine.gif*27*27', global_unread_locked_mine = 'announce_unread_locked_mine.gif*27*27', pm_read = 'topic_read.gif*27*27', pm_unread = 'topic_unread.gif*27*27', icon_contact_aim = 'icon_contact_aim.gif*20*72', icon_contact_email = 'icon_contact_email.gif*20*72', icon_contact_icq = 'icon_contact_icq.gif*20*72', icon_contact_jabber = 'icon_contact_jabber.gif*20*72', icon_contact_msnm = 'icon_contact_msnm.gif*20*72', icon_contact_pm = '{LANG}/icon_contact_pm.gif', icon_contact_www = 'icon_contact_www.gif*20*72', icon_contact_yahoo = 'icon_contact_yahoo.gif*20*72', icon_post_delete = 'icon_post_delete.gif*20*20', icon_post_edit = '{LANG}/icon_post_edit.gif', icon_post_info = 'icon_post_info.gif*20*20', icon_post_quote = '{LANG}/icon_post_quote.gif', icon_post_report = 'icon_post_report.gif*20*20', icon_post_target = 'icon_post_target.gif*9*12', icon_post_target_unread = 'icon_post_target_unread.gif*9*12', icon_topic_attach = 'icon_topic_attach.gif*10*7', icon_topic_latest = 'icon_topic_latest.gif*9*12', icon_topic_newest = 'icon_topic_newest.gif*9*12', icon_topic_reported = 'icon_topic_reported.gif*14*16', icon_topic_unapproved = 'icon_topic_unapproved.gif*14*16', icon_user_online = '{LANG}/icon_user_online.gif', icon_user_offline = '{LANG}/icon_user_offline.gif', icon_user_profile = 'icon_user_profile.gif*11*11', icon_user_search = '{LANG}/icon_user_search.gif', icon_user_warn = 'icon_post_report.gif*20*20', icon_gender_x = 'icon_gender_x.gif', icon_gender_m = 'icon_gender_m.gif', icon_gender_f = 'icon_gender_f.gif', button_pm_forward = '{LANG}/button_pm_forward.gif', button_pm_new = '{LANG}/button_pm_new.gif', button_pm_reply = '{LANG}/button_pm_reply', button_topic_locked = '{LANG}/button_topic_locked.gif', button_topic_new = '{LANG}/button_topic_new.gif', button_topic_reply = '{LANG}/button_topic_reply.gif' WHERE imageset_id = 2

BACKTRACE

FILE: includes/db/mysqli.php
LINE: 116
CALL: dbal->sql_error()

FILE: includes/acp/acp_styles.php
LINE: 400
CALL: dbal_mysqli->sql_query()

FILE: includes/functions_module.php
LINE: 460
CALL: acp_styles->main()

FILE: adm/index.php
LINE: 83
CALL: p_master->load_active()
hans
Cadet I
Cadet I
 
Posts: 15
Joined: 27 Apr 2007, 16:39
Gender: Male

Re: [Beta] Genders 0.1.0

Postby eviL3 » 29 Apr 2007, 11:36

Oh, now i see. Beta5 = bad :doh: Either update to cvs or uninstall the MOD, it requires a not so old cvs snapshot. I forgot about the imagesets, so i thought it would could work with beta5.
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] Genders 0.1.0

Postby geoffreak » 01 May 2007, 22:04

It creates an error when the posting user is anonymous ;)
Earthlings, we have been watching you for years, and now we know your primitive language, so listen: All your base are belong to us.
Anime Bite - Your future #1 source for all things anime and manga!My Blog
User avatar
geoffreak    
Supporter
Supporter
 
Posts: 663
Joined: 17 Mar 2007, 21:52
Location: The Internets
Favorite Team: phpBB
Gender: Male
phpBB Knowledge: 9

Re: [Beta] Genders 0.1.0

Postby eviL3 » 02 May 2007, 05:12

geoffreak wrote:It creates an error when the posting user is anonymous ;)

Thanks for reporting that, i'll take a look at it ;)

Edit: Can you tell me what kind of error?
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] Genders 0.1.0

Postby geoffreak » 02 May 2007, 21:11

http://www.geoffreak.org/bb3/viewtopic. ... =2&start=0
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 1389: Undefined index: gender_img
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 383: Cannot modify header information - headers already sent by (output started at /includes/functions2.php:3500)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 385: Cannot modify header information - headers already sent by (output started at /includes/functions2.php:3500)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 386: Cannot modify header information - headers already sent by (output started at /includes/functions2.php:3500)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 387: Cannot modify header information - headers already sent by (output started at /includes/functions2.php:3500)
Earthlings, we have been watching you for years, and now we know your primitive language, so listen: All your base are belong to us.
Anime Bite - Your future #1 source for all things anime and manga!My Blog
User avatar
geoffreak    
Supporter
Supporter
 
Posts: 663
Joined: 17 Mar 2007, 21:52
Location: The Internets
Favorite Team: phpBB
Gender: Male
phpBB Knowledge: 9

Re: [Beta] Genders 0.1.0

Postby A_Jelly_Doughnut » 03 May 2007, 06:28

Probably because Anonymous's user cache is built separately from normal users in viewtopic.php :) Just a guess without having looked at your code
A_Jelly_Doughnut
phpBB Team Member
phpBB Team Member
 
Posts: 543
Joined: 10 Feb 2007, 14:58
Location: 1- 800 - In - The - USA
Gender: Male

Re: [Beta] Genders 0.1.0

Postby eviL3 » 03 May 2007, 10:22

Oh yeah, found it. Forgot to add that when i separated text and images...
Open:
Code: Select all
viewtopic.php

Find:
Code: Select all
//-- mod : Genders ------------------------------------------------------------
//-- add
            'gender'         => '',
//-- fin mod : Genders --------------------------------------------------------

Replace with:
Code: Select all
//-- mod : Genders ------------------------------------------------------------
//-- add
            'gender_img'      => '',
            'gender'         => '',
//-- fin mod : Genders --------------------------------------------------------
Image
User avatar
eviL3    
MOD Author
MOD Author
 
Posts: 1002
Joined: 05 Nov 2006, 08:14
Location: Cooking in the MODs kitchen
Gender: Male

PreviousNext

Return to Memberlist and Profiles

Who is online

Users browsing this forum: Majestic-12 [Bot] and 4 guests