Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Is there any way to enable embed tags on the forum?
Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Apr 8, 2014 - 7:38 pm

mingle utilized embed tags for the forum and it wan't until I found a plug in where the videos would auto embed, so quite a few of our older posts where the embed tags were utilized, the posts show up as blank, I have been working through the posts removing the embed tags, was just wondering if there was a easier way to do this? thank-you

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 8, 2014 - 8:37 pm

sorry, can you elaborate on what you mean by embed tags? do you mean shortcode? oembed? html tag? maybe a short example, be sure use the code editor...

Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Apr 8, 2014 - 8:47 pm

I wasn't sure if I was using the right term, like this Mr Papa

embed.jpgImage Enlarger

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 8, 2014 - 9:49 pm

no need to embed... just paste the url...  and wp oembed will handle the embedding automatically...

Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Apr 8, 2014 - 10:03 pm

that works now, but I'm talking about the old threads I imported from the other forum that needed the embed codes, they are still in place so now those posts just show as blank, I was wondering if there was a way the codes that are in the old posts can work, so I don't have to manually remove the codes

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 8, 2014 - 11:04 pm

So what happens to the them???   embed is an allowed html tag...   might edit one of the posts and make sure they are html tags vice html entities (ie & lt; minus the space)...  use the tinymce code button to look at the underlying raw text...

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 9, 2014 - 3:52 am

Not sure Steve noticed but the problem there is that these are bbCode 'embed' tags and our bbCode parser does not support 'embed' simply because it is not needed.

Off-hand I can only think of cavalier and sledgehammer ways of getting rid of all instances (like editing the database content as a text file) but let me try a couple of things this morning. If I find anything I will report back.

andy-signature.png
YELLOW
SWORDFISH
Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Apr 9, 2014 - 8:04 am

thanks yellow

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 9, 2014 - 8:40 am

OK - try this....

You need to add some code to the spFunctions.php file of the Simple:Press theme that you are using. This can be found in the /templates folder of the theme.

add the following code before the closing php tag at the bottom (that is the ?>). It is IMPORTANT that there is NO white-space or new lines after that closing tag so be careful. And use a plain text editor. Right try this:

[ - Ok removed by me as it is not going to show what is, in effect, a stripped tag - I will email it to you instead ]

You can paste it but be careful to note that that second parameter in those two lines of code is NOT a double quote but two single quotes. See if that helps.

andy-signature.png
YELLOW
SWORDFISH
Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Apr 9, 2014 - 8:48 am

will do

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625