Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - NinjaNT

Pages: [1]
1
General SMFShop Discussion / Help Creating Menu (Not Buttons)
« on: July 14, 2008, 09:11:39 am »
Okay, so I've gotten everything installed and went to modify the menu.  Simply changing the code won't figuring its based on text.  So I tried using the code from default, doesn't work its based on a link.  So now I need help; here's the original code from the default theme:

Code: [Select]
//Begin SMFShop code
//loadLanguage("shop");
echo ($current_action == 'shop' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'shop' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=shop">Shop</a>
</td>' , $current_action == 'shop' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';
//END SMFShop code

Now here's a basic idea of how the menu is built in the theme I'm using

Code: [Select]
// Edit Profile... [profile]
if ($context['allow_edit_profile'])
echo '
<li><a href="', $scripturl, '?action=profile">' , $txt[79] , '</a></li>
<li class="mainnavDivider"><!-- /--></li>';

I tried installing it this way:
Code: [Select]
//Begin SMFShop code
//loadLanguage("shop");
echo ($current_action == 'shop' || $context['browser']['is_ie4']) ?
<li><a href="', $scripturl, '?action=shop">' , $txt['Shop'] , '</a></li>
<li class="mainnavDivider"><!-- /--></li>';

But it gives me this warning

Quote
Template Parse Error!
There was a problem loading the /Themes/Aa_New_Damage_v2/index.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.

PHP Error Message

Parse error: syntax error, unexpected ',' in ..../Themes/Aa_New_Damage_v2/index.template.php on line 680


Please help me :(

2
Shop Button Requests / AA New Damage
« on: July 22, 2007, 02:57:23 am »
Theme Name:  AA New Damage
Link to Theme: http://custom.simplemachines.org/themes/index.php?lemma=107

A font is there :P

3
Requested additions / Gaming Site Items
« on: July 15, 2007, 03:18:24 am »
Here is the concept
*Please note that the following is a series of concepts all linked together*

Concept One - Centralized Items By Membergroups

Membergroups would be allowed to have purchasable items, that other membersgroups couldn't.  For example, a person who has bought a Gold Premium status on the forum would be able to acquire items from the PX.  While a person with Silver or Bronze couldn't.

Concept Two - Time Linked Membergroups

A member who puchases the premium status would only be able to use the benefits for 30 days MAXIMUM, unless otherwise decided by the administration.

Concept Three  -   Hidden Purchasable Items

These items would be seen only by the membergroups able to purchase them.

Concept Four - Item Usage

These items would only only be able to be used once a day for a set duration.

Concept Five  - Amount of Days to Purchase

These items would have different purchasable dates [3, 7, 15, 30 days]. 

Concept Six - Unusable Items if Premium Expires

Certain items considered "5th Slot" would not be able to be used unless the 5th Slot Item is purchased from the PX and would also not be able to be used once the Gold Premium expires as well as the 5th slot.

Concept Seven - Item Upon Forum Registration

These items a member would receive when joining that are considered the weaker items.

Concept Eight - Increased Interest Rate

These membergroups would increase the players interest rate for ONLY 30 days, then it would revert back to normal.

All these items listed above can be given to the coder, including all information.  The items only effect posts counts (+/-) and I am willing to answer any questions that you may have.  Remember, I do have all the information about the items that you will need!!!

I understand that this requires complex PHP coding, but I am in the process of finishing up a game-oriented storyline to pitch to EA Games.  :smitten:   So I really do not have the time, currently we do not have anyone on our PHP development team for the forum, and would really appreciate the hardwork.

----Thank you----

Pages: [1]