Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#31
|
||||
|
||||
OK, I'll check. I remember I had this problem with something else and I fixed it by putting stripslashes in the code.. but I'll look a moment.
OK, these are the screenshots (see if you can make any more sense of them XD) No idea of the problem :/ Last edited by parayna; 01-02-2015 at 12:30 AM. |
#32
|
||||
|
||||
NPC text - Should be fine.
Item descriptions - Should be fine. Item names - Where you want an apostrophe to appear, use ' instead: Creator's Bracelet = Creator's BraceletShop names - I thought of a fix! Where you want an apostrophe to appear, use *** instead. In view/shopview.php, change public function browse to: PHP Code:
Mai***s Shop = Mai's Shop
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it. Last edited by Kyttias; 12-16-2014 at 03:30 PM. |
#33
|
||||
|
||||
OK.. before I do that, I have another problem. No idea why but I have only just noticed it. Took me about 1 hour and 30 minutes to finally figure out the pattern and what is wrong >.< But everytime I put this in the header:
HTML Code:
{$header->loadStyle("{$home}{$css}/tooltip.css")} <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> <script src="{$home}{$js}/tooltip.js"></script> This is what happens: Basically the URL shows the supposed to be invisible #visitormessage or #whatever. >.< And then when I remove it, it is fine! D: I kinda want to move onto the inventory but I can't until I get all the little things sorted XD And I fixed the inventory names etc so thanks for that XD Last edited by parayna; 01-02-2015 at 12:32 AM. |
#34
|
||||
|
||||
Open up inc/tabs.php and delete the contents (but not the file). Open up your header.tpl and right after the link to tooltip.css, add in:
HTML Code:
<script src="{$home}{$js}/tabs.js"></script> <script> $(function() { $("#profile").organicTabs(); }); </script>
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it. Last edited by Kyttias; 12-16-2014 at 09:08 PM. |
#35
|
||||
|
||||
Thank you ^_^ It worked! Phew... finally caught up! XD Now I just need to do the inventory and the items aspect (most of it) will be finished finally! (And I saw on another post you say you might put the NPC thing as a mod, and I think you should XD Many people would find it good, I think ^_^)
Could you help me with the inventory in this way, please? ^_^ Last edited by parayna; 01-02-2015 at 12:33 AM. |
#36
|
||||
|
||||
Perhaps, but it'll take a little bit longer than the shop page did.
On a side note, I'm having a little trouble with an item I created that had an apostrophe, so, something tells me it's not safe to use them either. There should be a work around similar to how we figured out the shop names, though... So please don't create any item names with apostrophes until I get back to you on this. Another random fact about Mysidia in general (to be warned about)- If you try to rename an item but someone already owns one, it will also screw up their inventory - you have to rename the item not only in the items table, but also the inventory table for all users who may have it (the Search button at the top of the page will help with this, at least).
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it. Last edited by Kyttias; 12-17-2014 at 03:34 PM. |
#37
|
||||
|
||||
Oh, OK. Thanks for telling me XD I'll be sure to try and avoid it. For now, I am safe. But for future reference thanks :P
|
#38
|
||||
|
||||
Re:
Hey, sorry this isn't to do with helping out...
But I was wondering if either of you would be opposed to releasing the format for the shop page as a mod, or to me using the codes provided here with my own site? Wanted to ask permission first, hehe. But this is pretty much exactly how I'd like to set up my shop pages (aside from the NPC being centered). Let me know!
__________________
My Mods Site (1.3.4, 2020 Mods) |
#39
|
||||
|
||||
You're definitely welcome to use it. I'll try to tidy up all the information here into a mod so people have less to read through. It's hard to make a code for everyone, so I'll have to try my best to explain what's going on so they know how to implement their own layout plans. I commented my code and all, but I'm really not sure how straightforward it is currently. ^^;
edit: Official mod thread created!
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it. Last edited by Kyttias; 12-23-2014 at 02:56 AM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
visitors do not write messages in the shoutbox? | kratosvr | Questions and Supports | 1 | 10-29-2011 07:45 PM |
Not show shop adopts on adopt page | SilverDragonTears | Questions and Supports | 0 | 08-16-2011 06:57 PM |
Ad code "unable to write" | LilPixie | Questions and Supports | 4 | 03-26-2009 01:07 PM |
Re-Write suggestions | rosepose | Suggestions and Feature Requests | 4 | 03-22-2009 07:13 PM |
Suggestions For The Possible Re Write | gjac1 | Suggestions and Feature Requests | 2 | 03-19-2009 05:15 AM |
What's New? |
What's Hot? |
What's Popular? |