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 2011-12-07 23:40:43

jaydenblair@live.co.uk
Member
From: United Kingdom
Registered: 2011-10-30
Posts: 369
Website

bb codes

where can I find the videos bb codes?

thanks

Offline

#2 2011-12-08 06:52:40

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

Re: bb codes

libraries/framework/bbcode.php


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

Offline

#3 2011-12-08 21:17:57

jaydenblair@live.co.uk
Member
From: United Kingdom
Registered: 2011-10-30
Posts: 369
Website

Re: bb codes

not the file i mean where can i find out the bb code for videos

Offline

#4 2011-12-09 06:42:01

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

Re: bb codes

Hmm...i dont know what bbcode for videos is. Can you please explain?


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

Offline

#5 2011-12-11 16:43:16

jaydenblair@live.co.uk
Member
From: United Kingdom
Registered: 2011-10-30
Posts: 369
Website

Re: bb codes

http://videarn.com/video.php?id=133159

when the bbcode +thumb is posted. a thumbnail image is displayed. When a user clicks the thumbnail. it takes them to the video

Offline

#6 2011-12-13 22:00:22

jaydenblair@live.co.uk
Member
From: United Kingdom
Registered: 2011-10-30
Posts: 369
Website

Re: bb codes

Maybe this will help you understand

As a preview thumbnail image is shown on the main page. You should be able to make a code that extracts the thumbnail image code from the main page and ad's it to the URL for the video.

Basically you want something that will take the preview image and video code to make bbcode like this.

[url=http://dirtydirtyangels.com/5763/evelyn-lin-two-asians-price-of-one][img]http://dirtydirtyangels.com/media/videos/tmb/000/005/763/1.jpg[/img][/url]

Then when someone wants to share a videos. The user/Admin can take the code and post it on any website/forum. When the code is posted it will turn into a clickable picture like below.

1.jpg

Last edited by jaydenblair@live.co.uk (2011-12-13 22:15:10)

Offline

#7 2011-12-14 07:37:57

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

Re: bb codes

In templates/your-template/video_view.tpl.php add:

[url=<?php BASE_URL,'/',$this->video['video_id'],'/',$this->video['slug'],'/'; ?>][img]<?php echo THUMB_URL,'/media/videos/',path($this->video['video_id']),'/',$this->video['thumb'],'.jpg'; ?>[/img][/url]

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

Offline

#8 2011-12-14 18:24:47

jaydenblair@live.co.uk
Member
From: United Kingdom
Registered: 2011-10-30
Posts: 369
Website

Re: bb codes

is there a specfic place where i add this or just any place in the file?

Last edited by jaydenblair@live.co.uk (2011-12-14 18:25:57)

Offline

#9 2011-12-14 21:02:17

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

Re: bb codes

Please email me FTP access and i will add it for you.


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

Offline

#10 2011-12-14 21:14:43

jaydenblair@live.co.uk
Member
From: United Kingdom
Registered: 2011-10-30
Posts: 369
Website

Re: bb codes

you already have it

Offline

#11 2011-12-15 00:34:24

jaydenblair@live.co.uk
Member
From: United Kingdom
Registered: 2011-10-30
Posts: 369
Website

Re: bb codes

ill send it again...

Offline

#12 2011-12-17 22:23:17

jaydenblair@live.co.uk
Member
From: United Kingdom
Registered: 2011-10-30
Posts: 369
Website

Re: bb codes

The bbcode is slightly flawed. It doesn't give a full URL for the image. There for it does not show when posted on forums.

[url=http://dirtydirtyangels.com/892/horny-german-teen-ass-fucks-like-a-pro/][img]/media/videos/tmb/media/videos/000/000/892/1.jpg[/img][/url]

Offline

#13 2012-01-26 10:13:04

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

Re: bb codes

Use BASE_URL.'/media/videos/tmb/ instead of THUMB_URL


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

Offline

Board footer

Powered by FluxBB