Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Gamer profile ?
Vapor Offline
Member
***
Posts: 115
Joined: Oct 2010
Post: #1
Gamer profile ?
Is this possible with xthreads?

1. Creating another tab in a users profile to a new page.

2. Creating a custom profile page that a user can edit / add own images and info?


   

D3G Gaming Team - http://d3g.in

[Image: vapor_sig.png]
01-05-2011 05:50 AM
Visit this user's website Find all posts by this user Quote this message in a reply
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #2
RE: Gamer profile ?
There is the custom profile thread.... I guess you could try and make a plugin that calls certain data from a thread with XThreads custom fields and display on profile. Thing is, XThreads is for threads - not Profile fields - two very different areas.

Try looking at RateUs custom medals for an idea.


[Image: leelink.gif]
MYBB1.6 & XThreads
01-05-2011 08:56 AM
Visit this user's website Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #3
RE: Gamer profile ?
(01-05-2011 05:50 AM)Vapor Wrote:  Is this possible with xthreads?

1. Creating another tab in a users profile to a new page.

2. Creating a custom profile page that a user can edit / add own images and info?

Actually, I've tried creating this kind of application in my test forum.
But it doesn't use a javascript tabs.
With a simple "trick", we can use showthread / forumdisplay as the additional profile page (I think).
Unfortunately, we need an additional plugin for this (I think again).
I've tried to "port" the basic of the application to the demo site:
http://www.14.mynie.co.cc/member.php?act...http://www.14.mynie.co.cc/member.php?action=pro
Click the XThreads Profile tabs.

01-06-2011 06:25 AM
Find all posts by this user Quote this message in a reply
Vapor Offline
Member
***
Posts: 115
Joined: Oct 2010
Post: #4
RE: Gamer profile ?
Yes...that is pretty damn close !

D3G Gaming Team - http://d3g.in

[Image: vapor_sig.png]
01-06-2011 06:42 AM
Visit this user's website Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #5
RE: Gamer profile ?
That's quite an interesting idea RateU. Smile

My Blog
01-07-2011 09:16 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #6
RE: Gamer profile ?
Thanks, Yumi Biggrin

Because showthread is one of the main XThreads working area, so, I think we can use almost all of XThreads features in this area for the additional profile page. Each admin can uses various custom thread fields to build and design their additional profile page. And user info in showthread is more detail than user info in threadlist, like formatted username, avatar, user stars, user title and etc (the reason why I didn't use forumdisplay for this).

That is my main idea, Yumi Biggrin

@ Vapor: I hope you are OK to wait, Vapor Biggrin

01-08-2011 05:28 AM
Find all posts by this user Quote this message in a reply
Vapor Offline
Member
***
Posts: 115
Joined: Oct 2010
Post: #7
RE: Gamer profile ?
(01-08-2011 05:28 AM)RateU Wrote:  Thanks, Yumi Biggrin
@ Vapor: I hope you are OK to wait, Vapor Biggrin

Sure bud, thanks

D3G Gaming Team - http://d3g.in

[Image: vapor_sig.png]
01-08-2011 07:20 AM
Visit this user's website Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #8
RE: Gamer profile ?
I think this template structure is the basic layout:

template_prefix_showthread

HTML Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<html>
<head>
<title>{$thread['subject']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
	var quickdelete_confirm = "{$lang->quickdelete_confirm}";
// -->
</script>
<script type="text/javascript" src="jscripts/thread.js?ver=1600"></script>
</head>
<body>
{$header}
<div>
	{$first_post}
</div>
<br class="clear" />
<div id="posts">
	{$posts}
</div>
<div style="text-align: center;">
	{$multipage}
</div>
{$quickreply}
<br />
<div class="float_right" style="text-align: right;">
	{$moderationoptions}
</div>
<br style="clear: both;" />
{$footer}
</body>
</html>


template_prefix_postbit_first

HTML Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{$ignore_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
	<tr>
		<td class="thead largetext" style="text-align: center;" colspan="4">
			Gammer File
		</td>
	</tr>
	<tr>
		<td class="trow1" style="text-align: center;">
			{$GLOBALS['threadfields']['xtprofpic1']['value']}
		</td>
		<td class="trow1" style="text-align: center;">
			{$GLOBALS['threadfields']['xtprofpic2']['value']}
		</td>
		<td class="trow1" style="text-align: center;">
			{$GLOBALS['threadfields']['xtprofpic3']['value']}
		</td>
		<td class="trow1" style="text-align: center;">
			{$GLOBALS['threadfields']['xtprofpic4']['value']}
		</td>
	</tr>
	<tr>
		<td class="tfoot" style="text-align: center;">
			<strong>Favorite Game</strong>
		</td>
		<td class="tfoot" style="text-align: center;">
			<strong>Favorite Map</strong>
		</td>
		<td class="tfoot" style="text-align: center;">
			<strong>Favorite Weapon</strong>
		</td>
		<td class="tfoot" style="text-align: center;">
			<strong>Favorite Comms</strong>
		</td>
	</tr>
</table>
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
	<tr>
		<td class="thead largetext" colspan="2" style="text-align: center;">
			Gammer Profile
		</td>
	</tr>
	<tr>
		<td class="trow1" style="text-align: center;">
			<strong>Profile Summary</strong>
		</td>
		<td class="tcat" style="text-align: center; width: 25%;">
			<div>{$post['useravatar']}</div>
			<div class="largetext"><strong>{$post['profilelink']}</strong></div>
			<div>{$post['usertitle']}</div>
			<div>{$post['userstars']}</div>
			<div>{$post['groupimage']}</div>
			<div class="trow1" style="text-align: left; padding: 7px; margin: 3px;">
				<div class="float_right">{$post['onlinestatus']}</div>
				{$post['user_details']}
			</div>
		</td>
	</tr>
	<tr>
		<td class="tfoot" colspan="2">
			<div class="author_buttons float_right">{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}</div>
			<div class="post_management_buttons float_left">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}</div>		
		</td>
	</tr>
</table>

You can modify it as your need.



Attached File(s) Thumbnail(s)
   

01-12-2011 03:47 AM
Find all posts by this user Quote this message in a reply
Vapor Offline
Member
***
Posts: 115
Joined: Oct 2010
Post: #9
RE: Gamer profile ?
You never cease to amaze me Rateu...thank you very much. Going to give this a go later today Smile

D3G Gaming Team - http://d3g.in

[Image: vapor_sig.png]
01-13-2011 04:14 AM
Visit this user's website Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: