Maian Script World on Facebook Maian Script World on Twitter Maian Script World - Latest News Maian Script World on YouTube Maian Script World on LinkedIn


Please Read

You are required to register before you can post. This is via a custom verification system. Please post any problems you are encountering here and I`ll do my best to respond as soon as I can. Please note that a reply WILL be posted to all queries, so do not double post. There are no guarantees when a reply will appear but I do my best to answer all within 3/4 days max. Bumping topics won`t make the slightest difference.

IMPORTANT: Posts in English ONLY please, thank you! Any other languages will be ignored and your message deleted.
SEARCH: Use the search option to see if your question has been answered on the forum before. Or check the relevant script docs.
CUSTOMER: If you have purchased a commercial version of any of my software, using the contact option at the licence centre ensures a faster response.
AUTO DELETION: Accounts older than 5 days, with no posts or topics, are automatically deleted. Only register if you are thinking of posting.
PRIVATE MESSAGES: Private messages are currently disabled.
LINKS: Any links posted are 'NOFOLLOW' and will not be picked up by search engines.

You are not logged in.

#1 14-08-2011 17:47:59

chamagne
Members
From: France
Registered: 14-08-2011
Posts: 7

Image Information

Hi

New user, i want first to thank you for this great utility, easy to configure and use (after having tried many free utilities like this one).
I install it and put it on the web with some little adjustments and translate it in french (french.php available upon request).

My only problem :
Image Information doesn't work on click
Some comments exist in database for all images, but no action

You can see my ecards service here : http://www.sejour-australie.fr/maian-postcards/index.php

It's not very important but could be interesting for some images

Regards

Offline

#2 15-08-2011 07:17:02

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,062

Re: Image Information

Very nice. smile

As you have made significant changes, maybe you removed some code?


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#3 15-08-2011 07:40:19

chamagne
Members
From: France
Registered: 14-08-2011
Posts: 7

Re: Image Information

hi
no changes for this part of script, i deleted it from display

I just finished for minutes updating card display to allow images AND stamps of big sizes

See card creation : http://www.sejour-australie.fr/maian-postcards/ecard60.html
See created card : http://www.sejour-australie.fr/maian-postcards/pickup_79878f23768b17cf.html

I would like now to add date of card after FROM_MESSAGE and TO_MESSAGE
Is that easy to do ?

Last edited by chamagne (15-08-2011 07:53:24)

Offline

#4 15-08-2011 10:53:34

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,062

Re: Image Information

Very nice.

You want the send date on the card view page? Open main index.php, around line 3518 find:

$tpl_pickup->assign('MESSAGE', $welcome_message);

after that add:

$tpl_pickup->assign('DATE', $EDATA->sendDate);

In the pickup template file, use:

<?php echo $this->DATE; ?>

If you want to format it into a different date format, you can use the PHP date function:

echo date('d/m/Y',strtotime($this->DATE));

Hope that helps?


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#5 16-08-2011 04:25:02

chamagne
Members
From: France
Registered: 14-08-2011
Posts: 7

Re: Image Information

Good morning and sorry for my bad english language

1.

Adding $tpl_pickup->assign('DATE', $EDATA->sendDate); and using <?php echo $this->DATE; ?> in pickup template file don't work

That's because i want to have sent date in ecard and showcard template files

I tried to add in the right section of index.php :
$tpl_ecard->assign('DATE', $EDATA->sendDate);
No success

Where to add the assign command ?

2.

One option i want to add is :
offer to users, as smilies adding and with the same way, to add images for special events like birthday...
for example : http://www.sejour-australie.fr/maian-postcards/images/fetes/2-annee.png

I copied in all necessary files lines and paragraphs where appear emoticons for special events
It works well in admin where i can add my images (in a new table in database)
But in main part, no success and running index.php gives a white page
May be a problem with variables
Working on it

Just a thing, in which file is the command to go out of script ?
That could be usefull for me

3.

BBcode problems
Styling is ok but (1st bracket deleted) :
color=#FF0000] Red text /color]    
quote=James] This is the text i want to quote /quote]
code] This is some code /code]
don't work for me
???

That's all for today
Thank you for your attention and have a good day

Offline

#6 16-08-2011 05:04:45

chamagne
Members
From: France
Registered: 14-08-2011
Posts: 7

Re: Image Information

Hi

Question 2 has answer :
I forgot to add a new field in table settings to able events images
Testing forwards

Offline

#7 16-08-2011 06:04:20

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,062

Re: Image Information

Maian Greetings doesn`t support the BB code you posted.

For the date, try:

$tpl_ecard->assign('DATE', $adv_date);


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#8 16-08-2011 08:02:02

chamagne
Members
From: France
Registered: 14-08-2011
Posts: 7

Re: Image Information

Hi
Many thanks for your fast answers

Question 1 : OK

$tpl_ecard->assign('DATE', $adv_date);
OK for ecard.tpl.php

$tpl_pickup->assign('DATE', $EDATA->sendDate)
OK for pickup.tpl.php

I use :
<?php echo "<b>DATE D'ENVOI</b> : ".date('d/m/Y',strtotime($this->DATE)); ?>
OK for that

See example : http://www.sejour-australie.fr/maian-postcards/pickup_b75d4625c8566f17.html

Question 2 : OK

Events images diplayed
See example above
I will add now more images for main events

Question 3
???

Thank you for your help

Offline

#9 16-08-2011 13:28:40

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,062

Re: Image Information

Ok, great. Maian Greetings only supports a few BB code tags. These aren`t standard tags like html is.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

Board footer

2Checkout.com is an authorized reseller of goods and services provided by Maian Script World.© 2003-2013 David Ian Bennett. All Rights Reserved | Forum: FluxBB

Privacy Policy | Refund Policy