does any1 know how i can put a gallery on profile but for the persons profile? e.g that person can uploads there pictures and it show in gallery on profile?? bit like prodigits...
Gallery On Profiles!
Collapse
X
-
GuestTags: None
-
Guest -
Guest -
Guest
to access each user gallery from each user profile, add this to profiles:
if you using other type databases like with ibwf_ prefix, then fun_gallery change to with your prefix (ex. ibwf_gallery).Code:$countpics = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM fun_gallery WHERE uid='".$who."'")); echo "<a href=\"gallery.php?action=viewuser&who=$who&sid=$sid\">Gallery ($countpics[0])</a> ";
Thats all, other part of your question i didn't understood what you want to do.
Comment
-
Guest
well if u have the gallery that users a mysqlthat would be fantastic! as mine dntdoes any1 know how i can put a gallery on profile but for the persons profile? e.g that person can uploads there pictures and it show in gallery on profile?? bit like prodigits...[/b]
Comment
-
lol....this coding not working in my wml version..why??
can somebody give me the wml version for this coding?[/b]this code works both for wml n xhtml pagesCode:$countpics = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM fun_gallery WHERE uid='".$who."'")); echo "<a href=\"gallery.php?action=viewuser&who=$who&sid=$sid\">Gallery ($countpics[0])</a> ";
its funny that you are asking for wml version without having knowledge about wml n xhtml
Comment
-
but when i put in html version..it become like this :this code works both for wml n xhtml pagesCode:$countpics = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM fun_gallery WHERE uid='".$who."'")); echo "<a href=\"gallery.php?action=viewuser&who=$who&sid=$sid\">Gallery ($countpics[0])</a> ";
its funny that you are asking for wml version without having knowledge about wml n xhtml[/b]
XML parsing failed: syntax error (Line: 2, Character: 316)
Reparse document as HTML
Error:invalid entity reference in attribute value
Specification:http://www.w3.org/TR/REC-xml/
1: <?xml version="1.0"?><!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"><wml>
2: <card id="main" title="KrisTaLwaP"><p align="center">*Owner Tools*
.jpg)
Location: Viewing Users Profile
Gallery (1)
Username: huhu
Status: Site Owner!
UserId: 1
Asl: 0/Male/
Joined: 02:14 - Fri 15th Feb 08
Member For: 6 days 17 hours
Plusses: 124010
Buddies: 0
E-mail: asd@yahoo.com
Info:
Idle For: Online!
Browser: Opera
Ip: 64.62.138.103
Profile Views: 2
Send Inbox
User Stats
Advanced Profile
Poll
Blogs(1)
Vault(1)
Guestbook(0)
Share Plusses</p><p align="center">use this profile
Inbox
BuddyList
Chat
Forums
;[img]../images/home.gif[/img]Home</p></card></wml>
3:
Comment
-
as I told you you have no idea about wml and html and xhtml language and you know only copy and paste working you mixed html code and wml code in a same page.<card>...</card> tag is used in wml pages and <body>...</body> is html and the color codes are html codes....remove the html color code in the above posted wml codes it will work finebut when i put in html version..it become like this :
XML parsing failed: syntax error (Line: 2, Character: 316)
Reparse document as HTML
Error:invalid entity reference in attribute value
Specification:http://www.w3.org/TR/REC-xml/
1: <?xml version="1.0"?><!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"><wml>
2: <card id="main" title="KrisTaLwaP"><p align="center">*Owner Tools*
.jpg)
Location: Viewing Users Profile
Gallery (1)
Username: huhu
Status: Site Owner!
UserId: 1
Asl: 0/Male/
Joined: 02:14 - Fri 15th Feb 08
Member For: 6 days 17 hours
Plusses: 124010
Buddies: 0
E-mail: asd@yahoo.com
Info:
Idle For: Online!
Browser: Opera
Ip: 64.62.138.103
Profile Views: 2
Send Inbox
User Stats
Advanced Profile
Poll
Blogs(1)
Vault(1)
Guestbook(0)
Share Plusses</p><p align="center">use this profile
Inbox
BuddyList
Chat
Forums
;[img]../images/home.gif[/img]Home</p></card></wml>
3:[/b]
and learn wml,html,xhtml http://w3schools.com
Comment
-
as I told you you have no idea about wml and html and xhtml language and you know only copy and paste working you mixed html code and wml code in a same page.<card>...</card> tag is used in wml pages and <body>...</body> is the replaced tag in html and the color codes are html codes....remove the html color code in the above posted wml codes it will work finebut when i put in html version..it become like this :
XML parsing failed: syntax error (Line: 2, Character: 316)
Reparse document as HTML
Error:invalid entity reference in attribute value
Specification:http://www.w3.org/TR/REC-xml/
1: <?xml version="1.0"?><!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"><wml>
2: <card id="main" title="KrisTaLwaP"><p align="center">*Owner Tools*
.jpg)
Location: Viewing Users Profile
Gallery (1)
Username: huhu
Status: Site Owner!
UserId: 1
Asl: 0/Male/
Joined: 02:14 - Fri 15th Feb 08
Member For: 6 days 17 hours
Plusses: 124010
Buddies: 0
E-mail: asd@yahoo.com
Info:
Idle For: Online!
Browser: Opera
Ip: 64.62.138.103
Profile Views: 2
Send Inbox
User Stats
Advanced Profile
Poll
Blogs(1)
Vault(1)
Guestbook(0)
Share Plusses</p><p align="center">use this profile
Inbox
BuddyList
Chat
Forums
;[img]../images/home.gif[/img]Home</p></card></wml>
3:[/b]
and learn wml,html,xhtml http://w3schools.com
Comment

Comment