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 - CRONUS

Pages: [1] 2 3
1
Bugs / JS error in SMF 2.0.2 Shop 3.1
« on: February 07, 2012, 02:50:53 am »
In "Find member" popup when you click on a user, you get Java Script error:
Quote
theTextBox is null

It is triggered by:
Code: [Select]
if (theTextBox.value.length < 1 || ', ' == 'null')
                    theTextBox.value = "\"" + name + "\"";

Any ideas how to fix that?

2
Items / Re: Item request: Lotery
« on: June 18, 2007, 04:21:58 pm »
You could also do it so every person who buys a ticket -- their money goes into a lottery pot, and the winner gets all.
I think that should be as an option ;)

3
Items / Re: Item request: Lotery
« on: June 06, 2007, 01:51:22 pm »
At last :)
I've been waiting for it since i've posted the idea :)
Thanks at least for trying ;)

4
Coding / Re: Members allowed to sell their own files
« on: May 02, 2007, 03:59:20 pm »
that would be realy great item if someone could finish it :)

5
Items / Re: Download Item
« on: May 02, 2007, 03:36:34 pm »
thanks ;)
there was a [space] after ?> :)

6
Coding / Re: Please help
« on: April 26, 2007, 02:02:41 pm »
http://[your_forum]/index.php?action=permissions

P.S. If even admin can't see the button then i think that SMFShop did not install corectly ::)

7
Coding / Re: Please help
« on: April 25, 2007, 02:06:34 pm »
check permissions if shop is allowed to view for members and then try
Code: [Select]
if ($context['allow_shop'])

8
Change
Code: [Select]
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 />';

to
Code: [Select]
echo '
                        ', $modSettings['shopCurrencyPrefix'], $message['member']['money'], $modSettings['shopCurrencySuffix'], '<br /><br />
                        <a href="', $scripturl, '?action=shop;do=invother2;member=', $message['member']['username'], '"><img src="' . $settings['images_url'] . '/view_inventory.gif" alt="View Inventory" border="0" /></a><br />
                        <a href="', $scripturl, '?action=shop;do=sendmoney;member=', $message['member']['username'], '"><img src="' . $settings['images_url'] . '/send_money.gif" alt="Send Money to ', $message['member']['name'], '" border="0" /></a><br />';

You have to make view_inventory.gif and send_money.gif and put these to images dir

9
Items / Re: Download Item
« on: April 23, 2007, 02:24:06 pm »
ok.. now it downloads BUT...
original file size is 91648 bytes and when I use an item it downloads 91649 bytes and it doesn't open :(
I get checksum error :(

10
Coding / Re: Please help
« on: April 20, 2007, 10:30:12 pm »
oops  :-[
but in tle last reply i fixed it ;)

11
Coding / Re: Please help
« on: April 20, 2007, 06:27:51 pm »
It should look like that:
Code: [Select]
        // Edit Profile... [profile]
        if ($context['allow_edit_profile'])
                echo '<a href="', $scripturl, '?action=profile"><img name="profile" id="profile"  onmouseover="javascript:document.profile.src=\'' . $settings['images_url'] . '/' . $context['user']['language'] . '/profile_over.gif\'" onmouseout="javascript:document.profile.src=\'' . $settings['images_url'] . '/' . $context['user']['language'] . '/profile.gif\'" src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/profile.gif" alt="' . $txt[79] . '" style="margin: 0px 0;" border="0" /></a>';

        // The [shop]!
        if ($context['allow_shop'])
                echo '<a href="', $scripturl, '?action=shop"><img name="shop" id="shop"  onmouseover="javascript:document.shop.src=\'' . $settings['images_url'] . '/' . $context['user']['language'] . '/shop_over.gif\'" onmouseout="javascript:document.shop.src=\'' . $settings['images_url'] . '/' . $context['user']['language'] . '/shop.gif\'" src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/shop.gif" alt="Shop" style="margin: 0px 0;" border="0" /></a>';

        // The [calendar]!
        if ($context['allow_calendar'])
                echo '<a href="', $scripturl, '?action=calendar"><img name="calendar" id="calendar"  onmouseover="javascript:document.calendar.src=\'' . $settings['images_url'] . '/' . $context['user']['language'] . '/calendar_over.gif\'" onmouseout="javascript:document.calendar.src=\'' . $settings['images_url'] . '/' . $context['user']['language'] . '/calendar.gif\'" src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/calendar.gif" alt="' . $txt['calendar24'] . '" style="margin: 0px 0;" border="0" /></a>';

12
Coding / Re: Please help
« on: April 20, 2007, 05:19:49 pm »
I can't see Shop button ::)

13
Coding / Re: Please help
« on: April 20, 2007, 02:10:26 pm »
Could You paste the code? From the button before shop to the one after it?

eg.
Code: [Select]
// Don't remember :)
.....

// The [shop]!
.....

// The [calendar]!
....

14
Items / Re: Siggy By Board
« on: April 19, 2007, 04:18:13 pm »
at first i think someone has to make a mod and only then an item ::)

15
Coding / Re: Please help
« on: April 18, 2007, 03:26:58 pm »
Search in index.template.php :
Code: [Select]
        // The [calendar]!
        if ($context['allow_calendar'])
                echo '<a href="', $scripturl, '?action=calendar"><img name="calendar" id="calendar"  onmouseover="javascript:document.calendar.src=\'' . $settings['images_url'] . '/' . $context['user']['language'] . '/calendar_over.gif\'" onmouseout="javascript:document.calendar.src=\'' . $settings['images_url'] . '/' . $context['user']['language'] . '/calendar.gif\'" src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/calendar.gif" alt="' . $txt['calendar24'] . '" style="margin: 0px 0;" border="0" /></a>';

Add before it:
Code: [Select]
//Begin SMFShop code
//loadLanguage("shop");
echo ($current_action == 'shop' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'shop' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=shop">Shop</a>
</td>' , $current_action == 'shop' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';
//END SMFShop code

But this Bloc theme is using images for buttons so i suggest you to make images for shop and instead of above code add this one:
Code: [Select]
        // The [shop]!
        if ($context['allow_shop'])
                echo '<a href="', $scripturl, '?action=shop"><img name="shop" id="shop"  onmouseover="javascript:document.shop.src=\'' . $settings['images_url'] . '/' . $context['user']['language'] . '/shop_over.gif\'" onmouseout="javascript:document.shop.src=\'' . $settings['images_url'] . '/' . $context['user']['language'] . '/shop.gif\'" src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/shop.gif" alt="Shop'" style="margin: 0px 0;" border="0" /></a>';

So you gonna need shop_over.gif and shop.gif

Pages: [1] 2 3