Jump to content

indie

Members
  • Posts

    31
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

indie's Achievements

Member

Member (2/5)

0

Reputation

  1. That's all Greek to me. Looking for someone to post it for me, can pay.
  2. Unfortunately nothing, that's why I am asking. This is not my skill department. But I can surely paste a query lol. What I need is a regex code to change the above. So where the **** would be 6453, in the below code, the **** would also be 6453. So all it keeps is the attachment number. Thanks!
  3. Not two codes no. Yes, looking for regex to take care of it.
  4. I am trying to change this [sharedmedia=core:attachments:****] into this [ATTACH]****[/ATTACH] And leave the same numbers intact, the *s are unique numbers per post. Thanks for any help!
  5. Thanks I'll try those. 1st one is a mysql query, second is a regex search/replace?
  6. Okay I can use EditPad Lite text editor which has regex. I just don't know what to do in search and replace. ([A-Za-z0-9\-\_]+) I know something like this can be added to the end of the URL to find the video code, but then what? When I click to replace it just adds that regex code to the URL, and it won't highlight the bbcode tag after it for removal. I just want to do this: Thanks
  7. Do you mean PHP can be used to change it in MYSQL? Not familiar with coding. Found this not sure it will help me: http://stackoverflow.com/questions/24261555/removing-bbcode-url-tag-from-string
  8. The purpose is one forum software treats this as an embed not a link (great). Moving to the new software they will be hyperlinks (not great) but if they are plain text with no bbcode they will be embedded after the import and the post task has run.
  9. Any help appreciated. So let's say in the db I have: [url]https://www.youtube.com/watch?v=RandomCharactersHere[/url] And I want it to be: https://www.youtube.com/watch?v=RandomCharactersHere I want to remove the URL code but only from youtube links so a replace all will not work unless it knows it is a YT link. Would something like this work? http://stackoverflow.com/a/35584060 So you could append [a-zA-Z0-9] to https://www.youtube.com/watch?v= So code that would essentially say: To trim tail: Find [url]https://www.youtube.com/watch?v=[a-zA-Z0-9][/url] and remove [/url] after string. To trim head: Find [url]https//www.youtube.com/watch...(not sure if I need entire string in this one) remove [url] before string. Would it need to know how many characters the video number was? [a-zA-Z0-9]{8} If so, I could go through however many it could possibly be to change them all. Of course I would also need to do this with url and URL to cover all cases but I could just do it twice, and also the share code https://youtu.be/, but I can figure the share code out once I get this. Thanks for any help!
  10. Can that be used in conjunction with the widget Twitter provides? And if so how? Thanks a lot.
  11. Any help appreciated.
  12. Thanks, but I'm not seeing cache code.
  13. Does anyone know how to cache Tweets as to not reach the API rate limit? I am using the Twitter-provided widget to display multiple profiles on a website, but the API hits the limit of 150 per hour. Is there any way to cache the Tweets and still use this widget? Or does anyone know of a good widget that caches, or simple code? If anyone knows, please explain in newbie terms. Thanks a lot!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.