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 2012-04-09 17:36:46

Jeff
Member
Registered: 2012-02-14
Posts: 39

how to enable html in video description?

How do I enable html code in the video description section?
I want to add some pictures in the description.

Offline

#2 2012-04-10 05:40:28

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

Re: how to enable html in video description?

Edit templates/your-template/video_view.tpl.php and replace:

<h2 class="description"><?php echo e($this->video['description']); ?></h2>

with:

<h2 class="description"><?php echo $this->video['description']; ?></h2>

Edit admin/modules/video/components/edit.php and replace:

$desc               = $filter->get('desc');

with:

$desc               = trim($_POST['desc']);

You will be able to add any HTML from Admin -> Video ->Edit now.


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

Offline

#3 2016-12-22 23:22:09

porntubeltd
Member
Registered: 2012-09-04
Posts: 6

Re: how to enable html in video description?

1) Have HTML in video description become a setting?

2) Could it be supported for Mass CSV import?

Offline

#4 2016-12-23 07:15:42

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

Re: how to enable html in video description?

1) Its not a setting yet in 2.x. In 3.x its by default enabled for admin users.
2). Yes.


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

Offline

Board footer

Powered by FluxBB