Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Addons and Modifications > Mys v1.3.x Mods

Notices

Reply
 
Thread Tools Display Modes
  #51  
Old 01-14-2017, 01:03 PM
Dinocanid's Avatar
Dinocanid Dinocanid is offline
Member
 
Join Date: Aug 2016
Location: Maryland, USA
Posts: 516
Gender: Unknown/Other
Credits: 79,262
Dinocanid is on a distinguished road
Default

This part includes duplicate lines:
PHP Code:
$document->add($inventoryTable);
}
$document->add($inventoryTable);

Change it to this:
PHP Code:
$document->add($inventoryTable);

__________________
Reply With Quote
  #52  
Old 06-24-2018, 11:38 PM
kingsofjuly kingsofjuly is offline
Member
 
Join Date: Jun 2018
Posts: 5
Gender: Female
Credits: 2,012
kingsofjuly is on a distinguished road
Default

Worked first pop, no hiccups - thanks so much!
Reply With Quote
  #53  
Old 07-10-2019, 10:33 AM
csunberry csunberry is offline
Member
 
Join Date: Jun 2019
Posts: 11
Gender: Female
Credits: 2,678
csunberry is on a distinguished road
Default

I must be doing something wrong. This works with Bootstrap, but if I try using the Main template, it just gives me a 500 error. What might I be doing wrong? Am I putting the stuff for <head> in the wrong place somehow?
Reply With Quote
  #54  
Old 06-18-2020, 12:41 AM
Micolai's Avatar
Micolai Micolai is offline
Loving Mysidia!
 
Join Date: May 2020
Location: Tennessee
Posts: 130
Gender: Female
Credits: 51,553
Micolai is on a distinguished road
Default

I'm using 1.3.4 and my script just doesn't like this bit of code:

Quote:
# Rendering items now
$document->add(new Comment("
<div class="s_panel sc_item">
<img rel="tooltip" title="{$item->description} <em>{$usage}</em>" src="{$item->imageurl}"/><br/>
<b>{$item->itemname}</b><br> Own &times;{$item->quantity}<br/>", FALSE));
It's not liking anything that's closed inside of these <> and keeps saying it's a syntax error.
__________________
"You try you fail, you try you fail, but the only true failure is if you stop trying. So try again." - Haunted Mansion
Reply With Quote
  #55  
Old 06-19-2020, 10:56 AM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 111,410
Kyttias is on a distinguished road
Default

It doesn't like that you have " inside your ". You're going to have to use ' instead on either the outside new Comment("") or all the content inside.
__________________
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.
Reply With Quote
  #56  
Old 06-19-2020, 12:21 PM
Micolai's Avatar
Micolai Micolai is offline
Loving Mysidia!
 
Join Date: May 2020
Location: Tennessee
Posts: 130
Gender: Female
Credits: 51,553
Micolai is on a distinguished road
Default

Quote:
Originally Posted by Kyttias View Post
It doesn't like that you have " inside your ". You're going to have to use ' instead on either the outside new Comment("") or all the content inside.
Thank you I've got it all working now 😊
__________________
"You try you fail, you try you fail, but the only true failure is if you stop trying. So try again." - Haunted Mansion
Reply With Quote
Reply

Tags
item display, item shop, npc, shop, shopkeeper


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mys v1.3.4 Shop Listing Display Kyttias Mys v1.3.x Mods 13 06-13-2016 03:31 PM
Item Bug? tahbikat Questions and Supports 4 11-24-2015 06:28 PM
Changing Shop and Item Display? Abronsyth Questions and Supports 2 12-16-2014 04:25 PM
Buy X of Item A to receive X of Item B AndromedaKerova Suggestions and Feature Requests 0 11-09-2014 09:17 PM


All times are GMT -5. The time now is 10:30 AM.

Currently Active Users: 614 (0 members and 614 guests)
Threads: 4,081, Posts: 32,032, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636