Home » Wapka Codes 2021 » [HELP] Right Now Wapka Showing Unregistered User Uploading Files As Admin Uploading Files Fix This
sajeevscg 3 years ago |
#Now Unregistered user uploaded files shown as admin upload files,
#So, i need change it to (GUST) Upload [Who upload files without register]
#*Example Link[*Education Purpose*](http://statusload.wapka.xyz/download/243875/vid-20211111-wa0000)
#i cant edit download page Becouse
(*1.Lots of advanced tag used in download page.
*2.its totaly wast my time.
*3.use mobile to update site.)
#im using difrent directores to upload files for users and admins.
#right now i just creat a code👇
:VALUE(%dir%).IFIN(["00000","00000","00000",]).THEN(ADMIN_UPLOAD).ELSE(GUST_UPLOAD).OR.VALUE(%dir%).IFIN(["1111","1111","1111"]).THEN.DATA(#GET(username)#).ELSE.NONE;
#All (0000) is Admin upload dir
#All (1111) is user upload dir
#iAm send user from download page to user file page via https-example.com/userfile?userid=%id%&username=%username% format
*But its not wirking!
*#Any one have a better mind,idea to solve ma problum!
comment |
Recent Comments (4)
fchagas97 | 3 years ago |
I think a solution would be as follows: in the upload forms, set the following configuration:
With this, you can use the variables to display the name and ID of the user who uploaded, instead of using %username% and %userid%.
PS: Remove the stars (*).
<*var_uploader_id>:VAR(USER_ID).OR(None);<*/var_uploader_id>
and<*var_uploader_name>:VAR(USER_NAME).OR(Guest);<*/var_uploader_name>
.With this, you can use the variables to display the name and ID of the user who uploaded, instead of using %username% and %userid%.
PS: Remove the stars (*).
reply |
mario | 3 years ago |
i only help wapka developers not owner of wapka you should settle down and think well of the function you made right away.... check again or build it in wap mode. all wapka codes and functions have no errors after it was updated errors fixed. all your funtions code is not correct
IFIN - to check if value is numeric
OR - when first not set then next
ELSE - if THEN not successful else new value
DATA - we use it to get,post,var its not accepting any data at front or end after it self like :VALUE(1234).IFEQ(1234).DATA(#POST(content)#);
reply |
fchagas97 | 3 years ago |
You should report this bug directly to Wapka Administrator. Please follow this path: Wapka Login* > Wapka Dashboard > Notice Board > Contact Us. *https://wapka.org/login
reply |