vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   uCash & uShop (https://vborg.vbsupport.ru/forumdisplay.php?f=100)
-   -   adding an action (https://vborg.vbsupport.ru/showthread.php?t=74729)

Reeve of shinra 01-26-2005 07:45 PM

If you dont want to wait, or dont care if about making users buy an avatar each time they want to upload something new, create a new usergroup that allows avatar changing and use the already existing add to usergroup feature of ushop.

Link14716 01-26-2005 08:40 PM

Quote:

Originally Posted by Reeve of shinra
If you dont want to wait, or dont care if about making users buy an avatar each time they want to upload something new, create a new usergroup that allows avatar changing and use the already existing add to usergroup feature of ushop.

And/or delete the template I told you to add to only show the URL field until I fix the bug with uploads. :)

Link14716 01-28-2005 09:22 PM

Alright, I got the upload file error fixed. In your uttstore_standard_inputs template:

Find:
HTML Code:

<form action="ushop.php" method="post">
Replace with:
HTML Code:

<form action="ushop.php" method="post" enctype="multipart/form-data">

carolmyt 02-04-2005 04:58 PM

First of all, I installed this hack yesterday, and I'm totally addicted to it!

Is the customavatar.php file customizable in a way that I could use it to allow members to buy avs of different sizes for different prices?

Please keep in mind that I'm very new to php. There is no explanation too basic for me, ;).

THANKS!

Link14716 02-04-2005 08:41 PM

No, there is not. It just allows members to purchase avatars up to the maximum allowable size as specified in the usergroup manager.

carolmyt 02-04-2005 10:40 PM

Ok, thanks anyway!

carolmyt 02-07-2005 01:09 PM

I installed this with no problems, and while it is working for me and other administrators, regular members are getting an error message. They're telling me the message is telling them the avs are too big, and referencing the size as -1 by -1, or 1 byte. They all tell me that the avs are within restricted size, and the one I checked on was. Any idea why this is happening? People are starting to get irritable.

Ok, I figured out what the problem is, but I don't know how to fix it. In order to be able to purchase the custom av, the usergroup has to be set to allow uploading of custom avs, but if that is set to yes, there is no need to buy one, because then they can just upload it for free through the user cp.

So, how do I fix this?

carolmyt 02-08-2005 09:22 PM

Anybody?

carolmyt 02-12-2005 04:57 PM

Is nobody using this option?

Wifey 03-15-2005 10:22 PM

What am I doing wrong? I installed it but there is no table to upload the avatar. It's working but when you go to the confirmation page to upload the avatar it's not there...


All times are GMT. The time now is 06:54 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00947 seconds
  • Memory Usage 1,731KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete