UBB.Dev
Posted By: Gringos.com . - 02/25/2005 9:39 PM
.
Posted By: Charles Re: . - 02/25/2005 9:41 PM
just download all the files and then use the search and replace function of a text editor. It should be quick and easy to do.
Posted By: AllenAyres Re: . - 02/25/2005 10:01 PM
I believe ultra edit will do this, possibly even over ftp, for sure of you download the files as a group, run the app then re-upload smile

www.ultraedit.com
Posted By: Gringos.com Re: . - 02/26/2005 6:41 AM
Quote
quote:
just download all the files and then use the search and replace function of a text editor. It should be quick and easy to do.
Charles/Allan...Thanks for your response, but I don't know how to repair this, even as easy as your saying it is. Would either of you be willing to help me out, as in doing it for me? If so, please email me directly at [email protected]

Thank you
Posted By: LK Re: . - 02/26/2005 12:23 PM
Since the board is open only for registered users, I can't check the case deeply. But try the following:

Open ubb_lib_posting.cgi. (in the cgi-bin folder)
Find:
Code
		$post_body = $thisline[6];
Add below:
Code
$post_body =~ s/http://gringos.com.lhost7.atlantic.net/gringotalk/ubb//http://gringos.com/ubb//isg;
Then clear cache. (from the CP)

If it doesn't work, try again, and if it still doesn't work, please provide a test username/pass (not yours, a new one) for your forum, and the URL to an old topic with a broken smiley link.
Posted By: Gringos.com Re: . - 02/26/2005 9:20 PM
.
Posted By: Gringos.com Re: . - 02/26/2005 9:46 PM
Sorry LK. I don't understand this. You want me to provide here a test user/pass to access my board?

Thank you so much for helping me.
Posted By: LK Re: . - 02/27/2005 12:00 AM
I assume you have never modified your board... Let me explain a bit about doing that. If you already know that, you can skip directly to the directions of course.

UBB is a board which is built on Perl, and all its code may be viewable and modified by its owners. So if you want to change just about anything you want in your board, you can simply open a file, and modify it.

In order to have all the "http://gringos.com.lhost7.atlantic.net/gringotalk/ubb/" instances in the post bodies become "http://gringos.com/ubb/", do the following:

Open Notepad, and go to your UBB's cgi-bin directory. There you'll find a file called "ubb_lib_posting.cgi." Open it.
Find (with the Notepad find function):
Code
		$post_body = $thisline[6];
Right below that, copy and paste the following line:
Code
$post_body =~ s/http://gringos.com.lhost7.atlantic.net/gringotalk/ubb//http://gringos.com/ubb//isg;
Then go to your UBB Control Panel, and clear your board cache.
If it still doesn't work, please provide a test user/pass to access your board.
© UBB.Developers