Author Topic: [SOLVED] error with disply temp  (Read 4955 times)

Offline doon

[SOLVED] error with disply temp
« on: August 07, 2007, 01:17:21 pm »
ok ... i reall want to install ur mod ... but here is the ERROR

Quote
Install Actions
Installations actions for "SMFShop":
Installing this package will perform the following actions:  Type Action Description
1. Execute Code installScript.php 
2. Extract Tree ./Sources/shop 
3. Extract File ./Themes/default/languages/Shop.english.php 
4. Extract File ./Themes/default/ShopAdmin.template.php 
5. Extract File ./Themes/default/Shop.template.php 
6. Execute Modification ./index.php Test successful
7. Execute Modification ./Sources/Load.php Test successful
8. Execute Modification ./Sources/ManageBoards.php Test successful
9. Execute Modification ./Sources/ManagePermissions.php Test successful
10. Execute Modification ./Sources/Post.php Test successful
11. Execute Modification ./Sources/RemoveTopic.php Test successful
12. Execute Modification ./Sources/Subs.php Test successful
13. Execute Modification ./Sources/Subs-Boards.php Test successful
14. Execute Modification ./Sources/Subs-Members.php Test successful
15. Execute Modification ./Themes/default/Display.template.php Test failed
16. Execute Modification ./Themes/default/index.template.php Test successful
17. Execute Modification ./Themes/default/ManageBoards.template.php Test successful
18. Execute Modification ./Themes/default/Profile.template.php Test successful
19. Execute Modification ./Themes/default/languages/Errors.english.php Test successful
20. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Test successful
21. Execute Modification ./Themes/default/languages/Who.english.php Test successful
 



i never use this mod before ..... i downloded the fresh copy ...

can u please help me .....

i m using SMF1.1.3
theme dilber mc

Thanks
« Last Edit: August 07, 2007, 01:19:19 pm by doon »

Offline feildmaster

Re: error with disply temp
« Reply #1 on: August 07, 2007, 01:46:35 pm »
the best way to fix this, attach your display.template.php file in a zip/rar and someone can fix a shop package to go with your problems...

Offline doon

Re: error with disply temp
« Reply #2 on: August 07, 2007, 02:06:54 pm »
disply temp attached

Offline inkstains

Re: error with disply temp
« Reply #3 on: August 07, 2007, 06:59:36 pm »
this should be good, you might just want to fiddle with the breaks so it looks the way you want.


Offline doon

Re: error with disply temp
« Reply #4 on: August 08, 2007, 12:57:34 am »
this should be good, you might just want to fiddle with the breaks so it looks the way you want.



ok i uploded the file that u gave me .... and i tried to install that  but still the same error :(
disply.temp test failed
HELP PLZZZZ

Offline inkstains

Re: error with disply temp
« Reply #5 on: August 08, 2007, 10:36:09 am »
nah just go ahead with the install even though it gives the error then upload the file i posted overwriting your old one and you'll be right to go.

Offline doon

Re: error with disply temp
« Reply #6 on: August 08, 2007, 11:07:06 am »
ok lemmmme try    :-\

Offline doon

Re: error with disply temp
« Reply #7 on: August 08, 2007, 11:33:31 am »
ok i think i successfully intalled this mod ... but it dosent show people money (credit) in their post on left side.....

and i also want to change SHOP button name to something else ... what do i hav to do for that ..... ????????????


plzzz help

Offline inkstains

Re: error with disply temp
« Reply #8 on: August 08, 2007, 11:37:16 am »
ok i think i successfully intalled this mod ... but it dosent show people money (credit) in their post on left side.....

and i also want to change SHOP button name to something else ... what do i hav to do for that ..... ????????????


plzzz help

did you upload the new file i attached to a previous post and overwrite the old one? also if you are using a theme besides the default one you may need to make the edits for that themes display file.

as for the button it would depend on how your theme does it's buttons if it's image based you'll need to edit the image and replace it with your new version or you'll need to edit i think it's index.template.php and locate the shop button and change it's text to what you want.

Offline doon

Re: error with disply temp
« Reply #9 on: August 08, 2007, 12:04:27 pm »
ok i think i successfully intalled this mod ... but it dosent show people money (credit) in their post on left side.....

and i also want to change SHOP button name to something else ... what do i hav to do for that ..... ????????????


plzzz help

did you upload the new file i attached to a previous post and overwrite the old one? also if you are using a theme besides the default one you may need to make the edits for that themes display file.

as for the button it would depend on how your theme does it's buttons if it's image based you'll need to edit the image and replace it with your new version or you'll need to edit i think it's index.template.php and locate the shop button and change it's text to what you want.


yes i did upload that file that u gave me ......

here is my current disply temp file


Offline inkstains

Re: error with disply temp
« Reply #10 on: August 08, 2007, 12:27:25 pm »
ok i think i successfully intalled this mod ... but it dosent show people money (credit) in their post on left side.....

and i also want to change SHOP button name to something else ... what do i hav to do for that ..... ????????????


plzzz help

did you upload the new file i attached to a previous post and overwrite the old one? also if you are using a theme besides the default one you may need to make the edits for that themes display file.

as for the button it would depend on how your theme does it's buttons if it's image based you'll need to edit the image and replace it with your new version or you'll need to edit i think it's index.template.php and locate the shop button and change it's text to what you want.


yes i did upload that file that u gave me ......

here is my current disply temp file



ok just to clear things up this display.template.php file you have attached to the post above this one, is that for a custom theme? or is this the same display.template.php from the post further up which i attached a new copy of with the shop edits done? a link to your forum would be handy to.

Offline doon

Re: error with disply temp
« Reply #11 on: August 08, 2007, 12:33:07 pm »
here is the url of ma forum

www.chillparadise.com

i m using dilber mc theme

and i took this disp temp file from default directory .....

Offline inkstains

Re: error with disply temp
« Reply #12 on: August 08, 2007, 12:37:33 pm »
does the dibler mc theme have it's own display.template.php file? if it does that is the one you need to edit to get credits to show next to a users post. if it doesn't you need to make sure you have overwritten the previous display.template.php file with the one i attached with edits.


attached is an edited version of the last display.template.php file you attached. just in case you took it from dibler mc theme otherwise check the dibler theme directory and see if it has a display.template.php file and make the following edits


In file $themedir/Display.template.php
Find:

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




Replace with:

 
         
Code: [Select]
// Show how many posts they have made.
// echo '
// ', $txt[26], ': ', $message['member']['posts'], '<br />
// <br />';
 
            // BEGIN SMFShop MOD New Version Code
// Removed one <br /> from end of post count line.
echo '
', $txt[26], ': ', $message['member']['posts'], '<br />
';

echo '
', $modSettings['shopCurrencyPrefix'], $message['member']['money'], $modSettings['shopCurrencySuffix'], '<br /><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

Offline doon

Re: error with disply temp
« Reply #13 on: August 08, 2007, 12:41:28 pm »
yes i gave u that file from default directory, and there is no display.template.php file in Dilber Mc folder .....

so i just replace this file to my current file ?

Offline doon

Re: error with disply temp
« Reply #14 on: August 08, 2007, 12:45:36 pm »
ooo thank you very much it working now :)

Thanks alot :)