Author Topic: [MOD] User GIS  (Read 88335 times)

0 Members and 1 Guest are viewing this topic.

b.o.fan

  • Guest
Re: Mini MOD: User GIS
« Reply #30 on: March 22, 2005, 07:50:23 PM »
hmmmm... can somebody write a new MOD? this tread is very difficuld to understand. :-(

how is the name of the gender-gif´s???????


b.o.fan

Offline martrix

  • Hero Member
  • *****
  • Posts: 755
    • View Profile
    • overlord.cz
Re: Mini MOD: User GIS
« Reply #31 on: March 22, 2005, 09:43:28 PM »
come on! The mod is not so hard to implement!

the names of the gender gif are:

m.gif like man for the male sign

w.gif like woman for the female sign

and if you did use the third option then

b.gif like bisex for the hermafrodit sign ;)
MAяTRIX


Offline ascanio

  • Hero Member
  • *****
  • Posts: 569
    • View Profile
    • http://www.surfourspace.net
Re: Mini MOD: User GIS
« Reply #32 on: April 07, 2005, 06:32:23 AM »
Quote
Step 1a!
At first setup, you must edit for each existing user the user_sex field by hand with m or w
i hope your database is not so huge Embarassed (m=male, w=female)

I have    1873 users and i don undestand what i have to do by hand :S is there anyother way?

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Mini MOD: User GIS
« Reply #33 on: April 07, 2005, 06:57:07 AM »
I have    1873 users and i don undestand what i have to do by hand :S is there anyother way?
would be nice if u read replys atleast on the first page...
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline ascanio

  • Hero Member
  • *****
  • Posts: 569
    • View Profile
    • http://www.surfourspace.net
Re: Mini MOD: User GIS
« Reply #34 on: April 07, 2005, 07:35:41 AM »
I have read them all before post but i don understand this At first setup, you must edit for each existing user the user_sex field by hand with m or w
i hope your database is not so huge Embarassed (m=male, w=female)

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Mini MOD: User GIS
« Reply #35 on: April 07, 2005, 08:06:53 AM »
there is a sollution on first page! I wouldnt say that if there wasnt any...
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline ascanio

  • Hero Member
  • *****
  • Posts: 569
    • View Profile
    • http://www.surfourspace.net
Re: Mini MOD: User GIS
« Reply #36 on: April 07, 2005, 08:11:55 AM »
Quote
actualy when u are adding new field, just make default ('m')
if u already added that field, run this query to update all enteries:
Code:
UPDATE 4images_users SET user_sex = 'm'

If this is the solution I don't understand this ... what I have to do please tell me. it working with the new user but not with de register before the instalation of the MOD I see a broken image

Offline martrix

  • Hero Member
  • *****
  • Posts: 755
    • View Profile
    • overlord.cz
Re: Mini MOD: User GIS
« Reply #37 on: April 07, 2005, 10:26:19 AM »
go to phpmyadmin, select the right db if you have more, open the query-window, paste UPDATE 4images_users SET user_sex = 'm' into the query field
and push "Submit query" that's all ;)
MAяTRIX


Offline ascanio

  • Hero Member
  • *****
  • Posts: 569
    • View Profile
    • http://www.surfourspace.net
Re: Mini MOD: User GIS
« Reply #38 on: April 07, 2005, 02:27:57 PM »
Thank you so much! Matrix

Offline ascanio

  • Hero Member
  • *****
  • Posts: 569
    • View Profile
    • http://www.surfourspace.net
Re: Mini MOD: User GIS
« Reply #39 on: April 07, 2005, 03:06:15 PM »
I don't find this on my memerlist.php
Code: [Select]
$userlist .= "<td valign=\"top\" align=\"left\">".$session_ip." ".$user_name."</td>\n";I put it in below this:
Code: [Select]
$userlist .= "<td valign=\"top\" align=\"center\">".$total_user_images_link."</td>";and when I go to see my member list I see a broken link image

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Mini MOD: User GIS
« Reply #40 on: April 07, 2005, 03:11:21 PM »
what link image?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline ascanio

  • Hero Member
  • *****
  • Posts: 569
    • View Profile
    • http://www.surfourspace.net
Re: Mini MOD: User GIS
« Reply #41 on: April 07, 2005, 03:20:49 PM »
did u went to my pege to see it ? I change it sorry I will put it again now

Offline martrix

  • Hero Member
  • *****
  • Posts: 755
    • View Profile
    • overlord.cz
Re: Mini MOD: User GIS
« Reply #42 on: April 07, 2005, 04:22:16 PM »
Thank you so much! Martrix

You're welcome

You don't have to add a new line, just add $user_sex right next to the name... or on any other place you wish - so you have to search for a line beginning
with $userlist containing the string $user_name. and replace that with $user_name." ".$user_sex. in the memberlist.php

when I go to see my member list I see a broken link image

and when you check the image-properties of that "broken image"?
What path is there? Did you save the m.gif w.gif (or also b.gif) @ the right place? (sorry, but you do not allow right-clicks, so I could not check it by myself...)
MAяTRIX


Offline ascanio

  • Hero Member
  • *****
  • Posts: 569
    • View Profile
    • http://www.surfourspace.net
Re: Mini MOD: User GIS
« Reply #43 on: April 07, 2005, 04:26:37 PM »
the path is templates/default/images/m.gif but my template is call blue where can I change the path?
I put the Images there and it does work :)
I just dont get one thing . in the editmember_profile.htm the {user_gender} does not show up :( so the old user cannot change their gander
when I put a user as a female I also get a broken image and the path is this templates/blue/images/.gif :S

Offline JensF

  • Addicted member
  • ******
  • Posts: 1.028
    • View Profile
    • http://www.terraristik-galerie.de
Re: Mini MOD: User GIS
« Reply #44 on: June 28, 2005, 01:15:06 AM »
I have test this Mod but it doesn´t work.

It´s very difficuld to understand all the topics.

a new install where very good....

Mit freundlichem Gruß
Jens Funk



-> Sorry for my bad English <-