Resource icon

Post Content Find / Replace 1.0.0

No permission to download
That's an easy one.

Code:
Quick Find:
[GR]f03ff81[/GR]

Code:
Regular Expression:
#\[gr]f03ff81\[\/gr\]#siu

Code:
Replacement String:
http://www.goear.com/listen/f03ff81
 
If you want to make it universal for more of that sort of codes u can use

Code:
Quick Find:
[GR]

Code:
Regular Expression:
#\[gr]([0-9a-z]+)\[\/gr\]#siu

Code:
Replacement String:
http://www.goear.com/listen/\1
 
If you want to make it universal for more of that sort of codes u can use

Code:
Quick Find:
[GR]

Code:
Regular Expression:
#\[gr]([0-9a-z]+)\[\/gr\]#siu

Code:
Replacement String:
http://www.goear.com/listen/\1

Thank you!!! I'll give it a try :)
 
Glad I could help :)

I see that you have put it between media tags, nice job.

Yes I figured that out, in my vbulletin site I had a custom bbcode for goear, and this bbcode was activated with the [GR] [/GR] tags.

I created a new bb code media site for goear

Site URL: http://www.goear.com
Match URLS: http://www.goear.com/listen/{$id}
Embed HTML : <iframe width="580" height="115" src="http://www.goear.com/embed/sound/{$id}" marginheight="0" align="top" scrolling="no" frameborder="0" hspace="0" vspace="0" allowfullscreen></iframe>

And with the code you shared with me I edited around 7800 posts :)

Thanks again.
 
The first row has to be replaced by the second?

Sorry no...

Code:
[IMG]http://forums.studentfilms.com/groupee_common/emoticons/icon_razz.gif[/IMG]

Is one of the examples of code throughout my forum from the old posts from groupee... using the information below the above below would be replaced by the ":p" emoticon. :p

/groupee_common/emoticons/icon_smile.gif = : )
/groupee_common/emoticons/icon_frown.gif = : (
/groupee_common/emoticons/icon_redface.gif = : o (lowercase "O")
/groupee_common/emoticons/icon_biggrin.gif = : D
/groupee_common/emoticons/icon_wink.gif = ; )
/groupee_common/emoticons/icon_razz.gif = : p
/groupee_common/emoticons/icon_cool.gif = : cool :
/groupee_common/emoticons/icon_rolleyes.gif = : rolleyes :
/groupee_common/emoticons/icon_mad.gif = : mad :
/groupee_common/emoticons/icon_eek.gif = : eek :
/groupee_common/emoticons/icon_confused.gif = : confused :
 
Oke, let's make things clear.

Code:
[IMG]http://forums.studentfilms.com/groupee_common/emoticons/icon_razz.gif[/IMG]

Needs to be replaced by:
:p

If that's the case then:

Quick Find:
Code:
[img]http://forums.studentfilms.com/groupee_common/emoticons

Regular Expression:
Code:
#\[IMG]http://forums\.studentfilms\.com/groupee_common/emoticons/icon_razz\.gif\[/IMG]#siu

Replacement String:
Code:
:p

You can figure those other smileys out yourself now I supose? ;)

Always test first before saving.
 
Last edited:
Oke, let's make things clear.

Code:
[IMG]http://forums.studentfilms.com/groupee_common/emoticons/icon_razz.gif[/IMG]

Needs to be replaced by:
:p

If that's the case then:

Quick Find:
Code:
[img]http://forumsstudentfilms.com/groupee_common/emoticons

Regular Expression:
Code:
#\[IMG]http://forums\.studentfilms\.com/groupee_common/emoticons/icon_razz\.gif\[/IMG]#siu

Replacement String:
Code:
:p

You can figure those other smileys out yourself now I supose? ;)

Always test first before saving.

I presume it needs to be "forums.studentfilms" in the first one?
 
Yes, that is possible. I converted al the different link is our forum to the new structure.

Are there any "strange" characters in the category names or thread titles? If you provide a link (can change domain name) then I can test this for you.

Before you try this, read this post first. If you have a large forum then you would run in to some errors due to memory. If you change this according the link below then you can start :)

https://xenforo.com/community/threads/import-from-ipb-3-2-posts-not-parsed-at-all.39577/#post-435226
 
Yes, that is possible. I converted al the different link is our forum to the new structure.

Are there any "strange" characters in the category names or thread titles? If you provide a link (can change domain name) then I can test this for you.

Before you try this, read this post first. If you have a large forum then you would run in to some errors due to memory. If you change this according the link below then you can start :)

https://xenforo.com/community/threads/import-from-ipb-3-2-posts-not-parsed-at-all.39577/#post-435226
I'm not sure but i have about 800K threads and 8m posts and switched from vbulletin.
I think, high possibility to have some strange characters on thread-title URL's. Forum category url's can't.

I read the small code modify for big-boards and i hope it may work. But before, i need to help for apply correct regular expression for change them. Can you please help about this ? Thanks.

For example URL:
ww w.domain.com/cep-telefonlari-genel/avea-41-mp-kamerali-nokia-808-pureviewai-satisa-sunuyor-670541.html
=>
ww w.domain.com/forum/konu/avea-41-mp-kamerali-nokia-808-pureviewi-satisa-sunuyor.670541/
 
I supose the complete url looks like this?

Code:
[url]http://www.domain.com/cep-telefonlari-genel/avea-41-mp-kamerali-nokia-808-pureviewai-satisa-sunuyor-670541.html[/url]

You have to provide me with the complete line that needs to be replaced
 
Back
Top Bottom