Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 28 Dec 2018, 16:01
Anton Rahman Anton Rahman is offline
 
Join Date: Nov 2014
json search in content slider to include images that are linked with BB code

is there anyway to write the json search of the content slider to include post images which are linked "not attached", example: those images linked with BB code , such as [IMG] and [IMG2] tags

i know that by default the content slider will pick up from the 1st attached image , but are there json codes that will make it possible to be more selective ?, such as making it select (any images at all "linked or attached ") , or lets say to select and show jpg only , videos only , or png images only

is there a better json code to make it more selective of other different or various types of images "not only the 1st attachment" ?

​​​​​​​cheers
Reply With Quote
  #2  
Old 29 Dec 2018, 10:26
delicjous's Avatar
delicjous delicjous is offline
 
Join Date: Nov 2014
You could try keywords.

Here is a tutorial: https://www.vbulletin.com/forum/arti...he-search-json
__________________
vBulletin-forum.de | Das deutschsprachige vBulletin 5 Forum! | Widgets, Mods und Anleitungen auf deutsch.
Team online, Latest Profile-Visitors, Disable-Postcount, Auto-close Threads, Latest Likes, Top-Posters PRO, New&Free: vB5 MemberMap
Reply With Quote
  #3  
Old 30 Dec 2018, 05:11
Anton Rahman Anton Rahman is offline
 
Join Date: Nov 2014
tnx delicjous, but still this link you provided does not show what code to use to include images tagged in post by BBcode such as [IMG] and most especially [IMG2].

on our forum we have an rss feeds channel that picks up from a twitter account , problem is posts coming in from twitter rss feeds will usually have images tagged with [IMG2] BBcode, by default content slider won't display those types of linked images , our objective is to broaden the json search term used in the content slider so to include displaying such types of linked images instead of displaying only images that were placed in the post as "attachments"

--------------- Added 30 Dec 2018 at 08:03 ---------------

guess i owe a clarification here , we dont need to search particular images , we just need the content slider to include linked images in the post as an option to use for background , cz by default it uses only attached images , we need it instead to use the 1st available image or media in the post as a background of the given slide , even if the only available images or media in that given post are linked using BBcode [img2] like in our case and not an attached image
Reply With Quote
  #4  
Old 30 Dec 2018, 09:41
delicjous's Avatar
delicjous delicjous is offline
 
Join Date: Nov 2014
Sorry, I think that is not working! As I know it have to be an album-attachment to show as slider-background.
__________________
vBulletin-forum.de | Das deutschsprachige vBulletin 5 Forum! | Widgets, Mods und Anleitungen auf deutsch.
Team online, Latest Profile-Visitors, Disable-Postcount, Auto-close Threads, Latest Likes, Top-Posters PRO, New&Free: vB5 MemberMap
Reply With Quote
Reply


Tags
content slider, json


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 01:31.

Layout Options | Width: Wide Color: