Clan Adverts

Sponsors

CT on Facebook

Latest Product

User Box

Anonymous
38.107.179.216
Nickname:

Password:

Security Code
Security Code
Type Security Code


PND Downloads Feed

Phpnuke Downloads
How to Delete or Reset yo...
How to Delete or Reset your PHPNuke Admin Account
Lost your admin password ?  Cant login to your admin account ? This s...
Back Online & Stuff
Back Online & Stuff
Look at us with our nifty website back up and running… Seriously...
How to edit the admins in...
How to edit the admins in the forums
Here is a way to make someone admin in your forums on your Evo site. I...
Demo Splash Screen
Demo Splash Screen
Ped @ Clan Themes has released a simple splash screen entrance hack. ...
Free Phpnuke Business The...
Free Phpnuke Business Theme 6
This is the 6th Business theme for Phpnuke that Clan Themes has releas...
Tricked Out Slider
Tricked Out Slider
We have seen some great new things come out of Tricked Out News and th...

Custom Work

PHP Nuke Custom Work

www.clanthemes.com :: View topic - Xbox forum mod help
Xbox forum mod help
Goto page 1, 2  Next

13 Replies / 2073 Views


Post new topic   Reply to topic  

   www.clanthemes.com Forum Index » Hacks n Mods

View previous topic :: View next topic


mia_undertaker
Reputation: 461.4 Add RepSubtract Rep
Local time: 11:45 PM

blank.gif

Tree Hugger
Tree Hugger

0.04 posts per day
Medals: 0

Joined: Jun 03, 2007
Last Visit: 28 Feb 2011
Posts: 72
Points: 9879 

Post Xbox forum mod help Posted: Tue Jan 11, 2011 6:15 am

Shop Purchases:
Clan Roster v1.7 Php Nuke Module · Clan Roster 2.0 · Modern Gamer Multi Theme · Gamer Cards Module

I want to use a forum mod kinda like the one you guys use to put the ribbons under each members avatar on the forums.
Instead of the ribbons I want to be able to do this.

Note:
I plan to add a field called gamertag to the members profile for them to put in their xbox 360 gamer tag.

I need code added so that it will concatinate the gamertag field with this:
http://gamercard.xbox.com/PUTGAMERTAGFIELDHERE.card

It would would need to iframe that page like this:
Code:
$content.="<center><iframe src=\"http://gamercard.xbox.com/PUTGAMERTAGFIELDHEREcard\" scrolling=\"no\" frameBorder=\"0\" height=\"140\" width=\"204\"></iframe></center></b>";

It should just be a line or two of code but I am having a problem getting it to work right.

Thanks for any help you guys can give me. I am using Nuke Raven

[MIA] UnderTaker
www.MIAClan.net
 

 
View user's profileSend private message Reply with quote

Snype
Reputation: 304.8 Add RepSubtract Rep
votes: 8
Local time: 4:45 AM
Location: lincolshire
uk.gif



0.53 posts per day
Medals: 1 (View more...)
Site Supporter (Amount: 1)
Respected Member
Respected Member
Joined: May 20, 2008
Last Visit: 27 Mar 2012
Posts: 779
Points: 60766 

Post Xbox forum mod help Posted: Tue Jan 11, 2011 6:33 am

Shop Purchases:
Call of Duty 4 SAS Theme

I reckon this would be quite easy to do but i think you have over looked some things.

Firstly if you wanted there gamer card to show in the forums then you have to think what card to use and what one suits the size of the forum, If all the user info in the forum is aligned to the top like clanthemes then you could use the standard gamercard but if it aligns to the left or right you would need to use the mini card. There was something else i wanted to say but i forgot lol.

What CMS are you using and i will try and do it and write a tutorial for it?
 

WebSite > http://www.phpnukeblog.info Xfire > DDsnype MSN > ritchietaylor@live.co.uk Email > admin@phpnukeblog.info  
View user's profileSend private messageVisit poster's websiteMSN Messenger Reply with quote

mia_undertaker
Reputation: 461.4 Add RepSubtract Rep
Local time: 11:45 PM

blank.gif

Tree Hugger
Tree Hugger

0.04 posts per day
Medals: 0

Joined: Jun 03, 2007
Last Visit: 28 Feb 2011
Posts: 72
Points: 9879 

Post Xbox forum mod help Posted: Tue Jan 11, 2011 6:47 am

Shop Purchases:
Clan Roster v1.7 Php Nuke Module · Clan Roster 2.0 · Modern Gamer Multi Theme · Gamer Cards Module

I am using Nuke Raven 2.4 CMS

The card could be linked from here.

http://card.mygamercard.net/mini/GAMERTAGFIELD.png

I can fit up to 160 px width on my forums. This info is located on the side and not the top like clan themes.

I am try to show the world that Nuke is not just for PC gaming clans. I have been running Nuke Raven for about 5 years now on our current site and want to expand to console gaming with a new site. I am looking for ways to make it more appealing to console gamers. Mods like thes will help out a lot.

Do you know any more mods for Nuke that will help console gamers?

Thanks again for your expertice in this.

UnderTaker
www.MIAClan.net
 

 
View user's profileSend private message Reply with quote


Snype
Reputation: 304.8 Add RepSubtract Rep
votes: 8
Local time: 4:45 AM
Location: lincolshire
uk.gif



0.53 posts per day
Medals: 1 (View more...)
Site Supporter (Amount: 1)
Respected Member
Respected Member
Joined: May 20, 2008
Last Visit: 27 Mar 2012
Posts: 779
Points: 60766 

Post Xbox forum mod help Posted: Tue Jan 11, 2011 6:57 am

Shop Purchases:
Call of Duty 4 SAS Theme

Good to see some one making a console site shoot me a link and i will join xbox only though lol.

Here is a module i made a while back http://www.clanthemes.com/shop_item-199-gamer-cards-module.html i could never add the PSN card because the user has to be a registered member on the playstation site for it to show the card. But i am in the process of updating the module to add more game status sigs but its a long process as i dont have the time to do work on it a lot, If you buy that module and want any modifications done let me know.

I am looking into adding the gamertag to the forums now for you i will post back when complete
 

 
View user's profileSend private messageVisit poster's websiteMSN Messenger Reply with quote

Snype
Reputation: 304.8 Add RepSubtract Rep
votes: 8
Local time: 4:45 AM
Location: lincolshire
uk.gif



0.53 posts per day
Medals: 1 (View more...)
Site Supporter (Amount: 1)
Respected Member
Respected Member
Joined: May 20, 2008
Last Visit: 27 Mar 2012
Posts: 779
Points: 60766 

Post Xbox forum mod help Posted: Tue Jan 11, 2011 8:36 am

Shop Purchases:
Call of Duty 4 SAS Theme

Something like this any good? of course you can place it anywhere in that area and it pulls the data from the RNYA custom fields. Let me know if this is what you want and i will tell you how to do it
Image Has Been Resized, Click To Enlarge.
 

 
View user's profileSend private messageVisit poster's websiteMSN Messenger Reply with quote

mia_undertaker
Reputation: 461.4 Add RepSubtract Rep
Local time: 11:45 PM

blank.gif

Tree Hugger
Tree Hugger

0.04 posts per day
Medals: 0

Joined: Jun 03, 2007
Last Visit: 28 Feb 2011
Posts: 72
Points: 9879 

Post Xbox forum mod help Posted: Tue Jan 11, 2011 8:58 pm

Shop Purchases:
Clan Roster v1.7 Php Nuke Module · Clan Roster 2.0 · Modern Gamer Multi Theme · Gamer Cards Module

That is exactly what I was looking for. You are the man.
 

 
View user's profileSend private message Reply with quote


mia_undertaker
Reputation: 461.4 Add RepSubtract Rep
Local time: 11:45 PM

blank.gif

Tree Hugger
Tree Hugger

0.04 posts per day
Medals: 0

Joined: Jun 03, 2007
Last Visit: 28 Feb 2011
Posts: 72
Points: 9879 

Post Xbox forum mod help Posted: Wed Jan 12, 2011 2:40 am

Shop Purchases:
Clan Roster v1.7 Php Nuke Module · Clan Roster 2.0 · Modern Gamer Multi Theme · Gamer Cards Module

Looks great. Can you post or send me the info? I am trying to get this site to offer a lot of stuff for console gamers. I think this is a great start.

Do you know of any other things that are console gamer related that work good with Nuke Raven for example, modules, blocks, hacks that would cater to console gamers?

Thanks again.

Do you have a donator link? I would like to show some appreciation for your help.

UnderTaker
www.MIAClan.net
 

 
View user's profileSend private message Reply with quote

Snype
Reputation: 304.8 Add RepSubtract Rep
votes: 8
Local time: 4:45 AM
Location: lincolshire
uk.gif



0.53 posts per day
Medals: 1 (View more...)
Site Supporter (Amount: 1)
Respected Member
Respected Member
Joined: May 20, 2008
Last Visit: 27 Mar 2012
Posts: 779
Points: 60766 

Post Xbox forum mod help Posted: Wed Jan 12, 2011 2:42 am

Shop Purchases:
Call of Duty 4 SAS Theme

Ok first off we need to create a new field in the RNYA "your account" so go to http://yourdomain.com/admin.php?op=yaAdmin make sure you are logged in as admin

Click custom fields on the left

Below is an image of how you want your custom field to be set as once done click save fields


Now open /modules/Forums/viewtopic.php find lines 414-425:
Find
Code:

$postrow = array();
if ($row = $db->sql_fetchrow($result))
{
        do
        {
                $postrow[] = $row;
        }
        while ($row = $db->sql_fetchrow($result));
        $db->sql_freeresult($result);

        $total_posts = count($postrow);
}


Change To or Replace
Code:

$postrow = array();
$userids= array();
if ($postrow = $db->sql_fetchrowset($result)) {
   foreach($postrow as $key => $value) {
      $sql  = 'SELECT ufv.value as value,  uf.name as name
            FROM `' . $user_prefix . '_users_field_values` ufv, `' . $user_prefix . '_users_fields` uf
            WHERE ufv.uid="' . $postrow[$key]['user_id'] . '"
                  AND uf.fid = ufv.fid';
      $results = $db->sql_query($sql);
      $row = $db->sql_fetchrowset($results, MYSQL_ASSOC);
      foreach($row as $key2 => $value2) {
         $postrow[$key]['custom_fields'][$row[$key2]['name']] = $row[$key2]['value'];
      }
   }
   $db->sql_freeresult($result);
   $total_posts = count($postrow);
}


Then around lines 1195 find:
Code:

        $template->assign_block_vars('postrow', array(
                'ROW_COLOR' => '#' . $row_color,
                'ROW_CLASS' => $row_class,
                'POSTER_NAME' => $poster,
                'POSTER_RANK' => $poster_rank,
                'RANK_IMAGE' => $rank_image,
                'POSTER_JOINED' => $poster_joined,
                'POSTER_POSTS' => $poster_posts,
                'POSTER_FROM' => $poster_from,
                'POSTER_AVATAR' => $poster_avatar,
                'POST_DATE' => $post_date,
                'POST_SUBJECT' => $post_subject,
                'MESSAGE' => $message,
                'SIGNATURE' => $user_sig,
                'EDITED_MESSAGE' => $l_edited_by,


After 'EDITED_MESSAGE on new line add
Code:
'GAMERTAG' =>$postrow[$i]['custom_fields']['Gamertag'],

The above was written by Palbin http://www.ravenphpscripts.com/postt18861.html

Now open /themes/your_theme/forums/viewtopic_body.tpl
Find
Code:
{postrow.RANK_IMAGE}<br />

Now add this code where ever you want it to appear
Code:
<a href="http://gamercard.xbox.com/{postrow.GAMERTAG}.card"><img src="http://card.mygamercard.net/mini/{postrow.GAMERTAG}.png" border=0></a><br />


Just so you know i am also looking into making a bbcode so users could enter [xbox]Oo Ritchie oO[/xbox]

If you want to donate my paypal is ritchietaylor@live.co.uk
And if you ever have any ideas for a module/block that relates to consoles let me know. And the only other module i know of for consoles is the one i made that is in the shop here on CT i posted a link in previous post
 

 
View user's profileSend private messageVisit poster's websiteMSN Messenger Reply with quote

mia_undertaker
Reputation: 461.4 Add RepSubtract Rep
Local time: 11:45 PM

blank.gif

Tree Hugger
Tree Hugger

0.04 posts per day
Medals: 0

Joined: Jun 03, 2007
Last Visit: 28 Feb 2011
Posts: 72
Points: 9879 

Post Xbox forum mod help Posted: Wed Jan 12, 2011 3:54 am

Shop Purchases:
Clan Roster v1.7 Php Nuke Module · Clan Roster 2.0 · Modern Gamer Multi Theme · Gamer Cards Module

I added it and it worked perfectly. As I am working on the site I will give you ideas that we think will help others to use Nuke for console gaming.

Thanks again for all your help.

By the way I already bought the gamercard from the shop. Angel

Are you in a clan or just a coder?

[MIA] UnderTaker
www.MIAClan.net
 

 
View user's profileSend private message Reply with quote


mia_undertaker
Reputation: 461.4 Add RepSubtract Rep
Local time: 11:45 PM

blank.gif

Tree Hugger
Tree Hugger

0.04 posts per day
Medals: 0

Joined: Jun 03, 2007
Last Visit: 28 Feb 2011
Posts: 72
Points: 9879 

Post Xbox forum mod help Posted: Wed Jan 12, 2011 4:09 am

Shop Purchases:
Clan Roster v1.7 Php Nuke Module · Clan Roster 2.0 · Modern Gamer Multi Theme · Gamer Cards Module

If you are looking for things to add to the club a good one would be a module like the Xfire Module here :
http://www.clanthemes.com/club-download-file-391-xfire-v20-module.html

But it would show the XBox GamerTags instead. A lot of the code is there already. It also have a block where you can scroll the member's Gamer Tags that you add to the main module.

Thanks again,

[MIA] UnderTaker
www.MIAClan.net
 

 
View user's profileSend private message Reply with quote

Snype
Reputation: 304.8 Add RepSubtract Rep
votes: 8
Local time: 4:45 AM
Location: lincolshire
uk.gif



0.53 posts per day
Medals: 1 (View more...)
Site Supporter (Amount: 1)
Respected Member
Respected Member
Joined: May 20, 2008
Last Visit: 27 Mar 2012
Posts: 779
Points: 60766 

Post Xbox forum mod help Posted: Wed Jan 12, 2011 5:10 am

Shop Purchases:
Call of Duty 4 SAS Theme

Nope not in a clan i do play fifa 11 a lot and use youfifaleague to do so but apart from that its hard to get a good xbox clan.

Umm dont have access to the clubs so cant download to see what that module does. But as far as xbox goes microsoft wont give any one access to there API you have to join there very short list of people who have to pay as well.

So the only way i could think of doing it is the same as the forums pull the gamertag from there profile and say it would read
Code:
<a href="http://gamercard.xbox.com/'.$gamertag.'.card"><img src="http://card.mygamercard.net/gelbar/'.$gamertag.'.png" border=0></a>

Then from there we could make a module and a block if you want i can give it a shot for you?
 

 
View user's profileSend private messageVisit poster's websiteMSN Messenger Reply with quote

mia_undertaker
Reputation: 461.4 Add RepSubtract Rep
Local time: 11:45 PM

blank.gif

Tree Hugger
Tree Hugger

0.04 posts per day
Medals: 0

Joined: Jun 03, 2007
Last Visit: 28 Feb 2011
Posts: 72
Points: 9879 

Post Xbox forum mod help Posted: Wed Jan 12, 2011 6:22 am

Shop Purchases:
Clan Roster v1.7 Php Nuke Module · Clan Roster 2.0 · Modern Gamer Multi Theme · Gamer Cards Module

Sounds like you have some great ideas to help our the console gaming communities.

I have several Nuke modules already in place on a few of our websites. I would like to meet up with you so we can talk about modding some of them to make them game console specific.

I think you could really help us to get this console website off to a great start. At the same time you could create several Nuke modules and Block that could be sold to other console gaming websites.

My Xfire is miaundertaker or maybe we could meet up and talk more on our Teamspeak 3 server. Let me know which is best for you.

Our Console gaming website is www.MIAGaming.net

I have already added your mod for the site to our forums.

I am currently looking at a much cooler looking gamertag avatar but it is in flash. Would that be possible to add instead of the other. Here is a what mine would look like.



It would have to be 175 by 125 but it would look really good on the site.

As always thanks for all your help,
[MIA]UnderTaker
www.MIAClan.net
 

 
View user's profileSend private message Reply with quote

Post new topic   Reply to topic  
   www.clanthemes.com Forum Index » Hacks n Mods


 
13 Replies / 2073 Views
Page 1 of 2
All times are GMT
Goto page 1, 2  Next
Display posts from previous:   
 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum