Author Topic: problem with shop?  (Read 1051 times)

0 Members and 1 Guest are viewing this topic.

Offline Wanted

  • Posts: 894
    • View Profile
problem with shop?
« on: March 25, 2007, 04:12:42 PM »
i bought italics name and a page of code came up, i clicked back and my money was gone, but no name change?

Code: [Select]
array('1','int'), 'strength' => array('6','int'),); function on_add() { global $IN,$DB, $SKIN, $ADMIN; $admin .= $SKIN->add_td_row( array( "Name Effect?
Name effect this item will carry." , $SKIN->form_dropdown("ibsettings_effect",array( 0 => array(0,'Bold Name'), 1 => array(1,'Italic Name'), 2 => array(2,'Drop Shadow Name'), 3 => array(3,'Shadow Name'), 4 => array(4,'Blur Name'), 5 => array(5,'Glow Name'), 6 => array(6,'Remove Name Effects'), ),$this->settings['effect']) ) ); $admin .= $SKIN->add_td_row( array( "Name Strength
Effect strength of it." , $SKIN->form_input("ibsettings_strength",$this->settings['strength']) ) ); $admin .= $this->_settingtype("effect","int"); $admin .= $this->_settingtype("strength","int"); return $admin; } function on_add_edits() { global $IN,$INFO,$DB, $SKIN, $ADMIN; if(!$DB->field_exists("name_prefix","members")) { $DB->query("ALTER TABLE ibf_members ADD name_prefix TEXT NOT NULL"); } if(!$DB->field_exists("name_suffix","members")) { $DB->query("ALTER TABLE ibf_members ADD name_suffix TEXT NOT NULL"); } $html = ""; if($this->extra == "showedits") { $html .= $SKIN->add_td_row(array("OPEN /sources/sql/mysql_queries.php
")); $html .= $this->admincp->code_edit("FIND @ Line 177","m.points,"); $html .= $this->admincp->code_edit("ADD AFTER"," m.name_prefix, m.name_suffix,"); $html .= $this->admincp->code_edit("FIND @ Line 192","m.points,"); $html .= $this->admincp->code_edit("ADD AFTER"," m.name_prefix, m.name_suffix,"); $html .= $SKIN->add_td_row(array("Save and reupload the file.")); $html .= $SKIN->add_td_row(array("This step will require you to login to the Admin CP with another browser window.")); $html .= $SKIN->add_td_row(array("NAVIGATE TO LOOK & FEEL -> Your Skin -> Edit Template HTML -> Topic View -> RenderRow")); $html .= $this->admincp->code_edit("FIND","{\$author[\'_pp_online_image\']}{\$author[\'_members_display_name\']}"); $html .= $this->admincp->code_edit("REPLACE WITH","{\$author[\'name_prefix\']}{\$author[\'_pp_online_image\']}{\$author[\'_members_display_name\']}{\$author[\'name_suffix\']}"); } return $html; } function on_use() { global $ibforums,$DB; if($this->settings['effect'] == 0 || $this->settings['effect'] == 1 || $this->settings['effect'] == 6) return; if(!$this->settings['effect']) { $prefix = ""; $suffix = ""; $type = "bold"; } else if($this->settings['effect'] == 1) { $prefix = ""; $suffix = ""; $type = "italic"; } else if($this->settings['effect'] == 2) { $prefix = "
"; $suffix = "
"; $type = "dropshadow"; } else if($this->settings['effect'] == 3) { $prefix = "
"; $suffix = "
"; $type = "shadow"; } else if($this->settings['effect'] == 4) { $prefix = "
"; $suffix = "
"; $type = "blur"; } else if($this->settings['effect'] == 5) { $prefix = "
"; $suffix = "
"; $type = "glow"; } else if($this->settings['effect'] == 6) { $type = "removed"; } return <<
{$this->lang['effect_'.$type]} {$this->lang['name_effect']} {$this->lang['color_table']}
{$this->lang['color']} {$this->lang['preview']} {$prefix}{$ibforums->member['name']}{$suffix}
input['color'] = trim($ibforums->input['color']); if($ibforums->input['color'] == "") $ibforums->input['color'] = "#000000"; if($this->settings['effect'] == 0) { $prefix = ""; $suffix = ""; $type = "bold"; } else if($this->settings['effect'] == 1) { $prefix = ""; $suffix = ""; $type = "italic"; } else if($this->settings['effect'] == 2) { $prefix = "
"; $suffix = "
"; $type = "dropshadow"; } else if($this->settings['effect'] == 3) { $prefix = "
"; $suffix = "
"; $type = "shadow"; } else if($this->settings['effect'] == 4) { $prefix = "
"; $suffix = "
"; $type = "blur"; } else if($this->settings['effect'] == 5) { $prefix = "
settings['strength']}); width:100%;'>"; $suffix = "
"; $type = "glow"; } else if($this->settings['effect'] == 6) { $prefix = ""; $suffix = ""; $type = "removed"; } $prefix = addslashes($prefix); $suffix = addslashes($suffix); $DB->query("UPDATE ibf_members SET name_prefix='{$prefix}',name_suffix='{$suffix}' WHERE id={$ibforums->member['id']} LIMIT 1"); if($type == "removed") { $message = $this->lang['effect_removed']; } else { $message = $this->_variableparse($this->lang['name_effectapplied'],array('TYPE' => $this->lang['effect_'.$type])); } $this->_deleteitem(); $this->_writelog($message,"nameeffect"); $this->_redirect($message,"act=store"); } } ?>

Offline Aries

  • V.I.P. Member
  • Posts: 8707
    • View Profile
problem with shop?
« Reply #1 on: March 25, 2007, 04:44:05 PM »
Yeah there is a huge problem with the shop at the moment. I'm trying to fix it as we speak.

Offline Wanted

  • Posts: 894
    • View Profile
problem with shop?
« Reply #2 on: March 25, 2007, 08:57:04 PM »
ive seen u have an italics name, did u custom do it or did it just work for u when u bought it? if the shop doesnt work is it possible to get the 800 points back or no?

Offline KillaMarci

  • <3
  • Veteran Member
  • Posts: 8700
  • Don't you remember the monsters?
    • View Profile
problem with shop?
« Reply #3 on: March 26, 2007, 07:06:06 AM »
Same for me , just that i tried buying it again after the error  So 2x800Points are gone .

Offline NicoGamer

  • Veteran Member
  • Posts: 2581
  • Graphic Artist
    • View Profile
    • http://www.theunknownbeing.com/
problem with shop?
« Reply #4 on: March 26, 2007, 08:17:26 AM »
Quote from: KillaMarci
Same for me , just that i tried buying it again after the error  So 2x800Points are gone .

I had this problem 2. But i lost 800 Points.
Mh i just say lol.

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal