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.


Messages - Zenin

Pages: [1] 2
1
where have allt he coding help people gone, im sure there must be a quick fix to this... :-\

2
yep very basic i need a way to send money to Post count based groups, since there do not show up on membergroup functions only the Regular groups show up.

thanks for any help given

3
yep very basic i need a way to send money to Post count based groups, since there do not show up on membergroup functions only the Regular groups show up.

thanks for any help given  O0

4
Modifications / Re: SMFShop Inventory Post Modification
« on: October 24, 2007, 03:08:19 am »
thanks for all the help inkstains and sixu.

 O0  :D  :smitten:

5
Modifications / Re: SMFShop Inventory Post Modification
« on: October 24, 2007, 02:20:24 am »
nope no change it didnt work :(

EDIT: ok i did it another way using css, and omg the result is amazing i totally change the rest of the post area and it looks soo much better!
heres a screenshot


6
Modifications / Re: SMFShop Inventory Post Modification
« on: October 22, 2007, 11:20:03 pm »
ok ive successfully edited the index.template, and the border is still missing.  :tickedoff:

i am now thinking it must be the tables not coded properly or the css for the 1px border doesnt not exist for my theme.
the problem must lie in display template.

there must be an edit i can make to this section of the code, im still a begginner at PHP but i think the fix can be made somewhere here.
inkstains can you give me any guidance as what to edit to show border.

thanks for all the help.

Code: [Select]
// Show the member's gender icon?
if (!empty($settings['show_gender']) && $message['member']['gender']['image'] != '')
echo '
', $txt[231], ': ', $message['member']['gender']['image'], '<br />';

// Show how many posts they have made.
// echo '
// ', $txt[26], ': ', $message['member']['posts'], '<br />
// <br />';

//BEGIN SMFShop Code IP EDIT
if ($modSettings['ShopIpDis'] == 0)
{
// BEGIN SMFShop MOD New Version Code
// Removed one <br /> from end of post count line.
echo '
', $txt[26], ': ', $message['member']['posts'], '<br />
';

echo '
<br>', $modSettings['shopCurrencyPrefix'], $message['member']['money'], $modSettings['shopCurrencySuffix'], '<br /> <a href="', $scripturl, '?action=shop;do=invother2;member=', $message['member']['username'], '">View Inventory</a><br />
<a href="', $scripturl, '?action=shop;do=sendmoney;member=', $message['member']['username'], '">Send Money to ', $message['member']['name'], '</a><br />';
//END SMFShop code
}
else{
// BEGIN SMFShop MOD New Version Code
// Removed one <br /> from end of post count line.
echo '
', $txt[26], ': ', $message['member']['posts'], '<br />
';

echo '
<br>', $modSettings['shopCurrencyPrefix'], $message['member']['money'], $modSettings['shopCurrencySuffix'], '<br />
<a href="', $scripturl, '?action=shop;do=sendmoney;member=', $message['member']['username'], '">Send Money to ', $message['member']['name'], '</a><br />';
//END SMFShop code
}
//END SMFShop Code IP EDIT

//BEGIN SMFShop IPM
//Check if postbit is the chosen display section or if IPM is even turned on
if ($modSettings['ShopIpDis'] == 1 && $modSettings['ShopIpPos'] == 0)
{
//Check there actually are items in the array
if (count($message['member']['shopitems']) != 0)
{
//Set up the fieldset with legend link to members inventory
echo '<fieldset><legend><a href="', $scripturl, '?action=shop;do=invother2;member=', $message['member']['username'], '">View Entire Inventory</a></legend>';
//Loop through all the items and output
foreach ($message['member']['shopitems'] as $shopitem)
{
echo "<img src='{$boardurl}/Sources/shop/item_images/{$shopitem['image']}'title='{$shopitem['desc']}'>&nbsp;&nbsp;";
}
echo '</fieldset>';
}
}
//END SMFShop IPM

// Show avatars, images, etc.?
if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image']))
echo '
<div style="overflow: auto; width: 100%;">', $message['member']['avatar']['image'], '</div><br />';

// Show their personal text?
if (!empty($settings['show_blurb']) && $message['member']['blurb'] != '')
echo '
', $message['member']['blurb'], '<br />
<br />';

7
Modifications / Re: SMFShop Inventory Post Modification
« on: October 21, 2007, 10:31:54 am »
yeh i know ive kinda done the things i shudnt have done. thats exactly it ive made pasted my custom theme into my defualt theme directory, purposfully so that any mod i install would work, as it installs to the default theme.

also in index.template the code below doesnt exist anywhere. i think i can figure out this by looking at a original index.template and using my own custom one.
Code: [Select]
if (in_array($context['current_action'], array('shop_general', 'shop_items_add', 'shop_items_edit', 'shop_cat', 'shop_inventory', 'shop_restock', 'shop_usergroup')))
ill get back to you once ive modified the index.template correctly. and tell you if that fixes the border issue.

thanks for the help mate.

8
Modifications / Re: SMFShop Inventory Post Modification
« on: October 21, 2007, 02:27:15 am »
isn't it just in "display.template"?

in or near "==Show signature?=="

it looks like a HTML table <td></tr> etc...

hmm ill have a look at it again, but if the install.xml file didnt input anything like <td></tr> then why would it be there...i will look more into this.
inkstains do you have any other ideas, or know what the code should look like.

can one of you show me the code from your working display.template, so i can find out why the border is missing from mine.

9
Modifications / Re: SMFShop Inventory Post Modification
« on: October 19, 2007, 09:05:56 am »
oh sorry yeh i fogot to mention i did a kinda work around so that i could install mods more easily i droped the custom theme into the default one, so that official mods could be installed on custom theme in the default directory. there is no default theme to switch to becuase thats the custom one now :-\

but like i said the display.template file did respond as a successfull install, the only file that failed was index.template, i tried to edit that afterwards but could not find the code.(as its a a custom theme)

does the border on post area have anything to do with index.template?

could you tell me what possible edits i can make to the display.template in order to show the border. (ive spent ages searching install.xml with no luck :()

thanks again for any help given.

10
Modifications / Re: SMFShop Inventory Post Modification
« on: October 18, 2007, 06:07:33 pm »
Basicaly the installation did successfully edit the display.template, but shows no border(becuase its not default theme), i have looked into display.template, knowing this is where the border shud be displaying, but i had no luck so i didnt edit anything.

my site forum is>  http://www.psp-customs.com/forum

heres a link to a direct post showing my inventory> http://www.psp-customs.com/forum/index.php?topic=3551.0

and ive attached display.template below, thanks for any help you can give.

11
Modifications / Re: SMFShop Inventory Post Modification
« on: October 18, 2007, 08:40:30 am »
first of all id like to say thanks this is an awsome mod! just what i needed.

heres a quik problem i have, i like the border you have around the items, and it neaten's up the area alot more. i cant get it to display correctly on my theme for some reason, installation went fine.


no inventory border  :'(

anyways i was wondering if you could show me where i can check and edit the code for my theme. thanks..i have a feeling that fieldset or legend might be the tags controling the border but i duno really..lol any help is appritiated. thanks
 O0

12
Installation Problems / Re: strange error, on a fresh install.
« on: August 13, 2007, 07:06:19 am »
oh ok, good i hope the fresh install works! and double triple check your permissions after that O0
so yeah if nothing works maybe you should resort to contacting your host (absolute LAST resort lol) or maybe, idk, something w/ the host conflicts w/ the smf shop mod. but your last host had no problems, did it not?

well i chat to my host alot on msn, we looked for the problem for a long time and didnt find the solution he doesnt know what else to do so its up to me. :D

13
Installation Problems / Re: strange error, on a fresh install.
« on: August 12, 2007, 11:57:54 am »
thanks dark zero i fink ill try a fresh install again, like i said this is a fresh install, but anohter cant hurt :)
it was a host problem to begin with the shop files were not chmoded there were locked or sumfin and i cudnt do it from ftp applications, but now this has been fixed and permissions are all correct.


14
Installation Problems / Re: strange error, on a fresh install.
« on: August 11, 2007, 09:36:00 pm »
Does the Shop-Buy.php file actually exist? It should be at httpdocs/forum/Sources/shop/Shop-Buy.php.
Does everything else in the shop work?

yep the file exists, its been chmoded to 777, and the shop.php hasnt been changed in any way.
i can see the first opening page of the shop where i see the menu on the left, buy stuff view inventory. but all the menu items dont work i get the a similar error for each one.

15
Installation Problems / strange error, on a fresh install.
« on: August 11, 2007, 03:50:16 am »
i get this error when i click buy stuff.

Code: [Select]
Fatal error: Shop() [function.require]: Failed opening required 'Shop-Buy.php' (include_path='.:') in /var/www/vhosts/psp-customs.com/httpdocs/forum/Sources/shop/Shop.php on line 136
ive set permissions correctly (777) the path is definatly correct. i cant see anything in the shop.php file that leads me to belive the php is wrong. so im totaly confused.

some help plz. thanks in advance.


Pages: [1] 2