Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2014-04-11 19:31:29

DuttyRock
Member
Registered: 2011-11-05
Posts: 740

Uploading

I want to remove "Tags" and "Category" from my upload page. So i did this so far put videos are not being uploaded.

Removed

<div class="required">
						<label for="category" class="upload"><?php echo __('category'); ?></label>
						<div class="categories">
							<?php echo p('categories_select', $this->categories, $this->video['category']); ?>
							<span id="category-error" class="error" style="display: none;"></span>
						</div>


Also remove

<div class="required">
						<label for="tags" class="upload"><?php echo __('tags'); ?></label>
						<textarea name="tags" id="tags" rows="2" cols="60" class="mega"><?php echo e($this->video['tags']); ?></textarea>
						<span id="tags-error" class="error" style="margin-left: 108px; display: none;"></span>
					</div>

Offline

#2 2014-04-17 05:10:41

DuttyRock
Member
Registered: 2011-11-05
Posts: 740

Re: Uploading

Any hints

Offline

#3 2014-04-17 05:26:27

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Uploading

Did you also modify modules/video/components/upload.php and make sure you change the code not to require categories and tags?


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#4 2014-04-17 16:20:35

DuttyRock
Member
Registered: 2011-11-05
Posts: 740

Re: Uploading

Okay, i added preset words for tags and title for testing. How can i set preset checked category?

Offline

#5 2014-04-18 09:44:39

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Uploading

You mean default category/tags? You need to edit modules/video/components/upload.php and set default items for the categories/tags. Also you might need to change the javascript, not to check on upload.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

Board footer

Powered by FluxBB