|
Geek Article and Review System GARS is the mega popular system for turning forums into articles, tutorials, or even reviews. |
Advertisement | |
Learn how to remove ads |
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Wrong image path after changing the forum path
I've changed my current forum path from ../forum/ to ../
(domain.com/forum --> domain.com) Everything works fine after this change. But i have a problem with the images in GARS. The header images and other images in custom modules still using the old path. When i check the source i see the image link as domain.com/forum/image_path. Can someone please help me to make it as it has to be ? (domain.com/image_path I did change the path settings in ACP. Regards |
#2
|
||||
|
||||
Are both of the following settings correct in the ACP -> GARS -> Settings?
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks. While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams |
#3
|
|||
|
|||
I have some problem actually. Even the above mentioned path to image folder and full url to default image folder is correct, some threads still using the /forum path for images. But when i remove the "forum" path from the address bar, then i can see the image.
I couldnt solve this problem... |
#4
|
||||
|
||||
Changing paths in the ACP doesn't necessary change content, i.e., content in a post is whatever it is and changing a path doesn't change the post content with or without GARS, so you'd need to either do an .htaccess 301 redirect for the images, or you can query the database to update the content.
Here is a generic MySQL query that will do search/replace. Take backups before running this query!!! You need to set the values in lowercase: Code:
UPDATE table_name SET field_name = REPLACE(field_name, 'find this string', 'replace with this string');
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks. While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Absolute path to images folder. Is it possible to not use absolute? | azn_romeo_4u | Geek Article and Review System | 1 | 11-03-2009 03:46 PM |
Incorrect Image Path | Cole | Geek Article and Review System | 15 | 07-13-2008 02:54 AM |
Modifying the review templates and changing image sizes | tekguru | Geek Article and Review System | 26 | 07-13-2007 07:01 PM |
problem with template (path?) | magnaromagna | Geek Article and Review System | 7 | 12-15-2006 11:29 AM |
Changing the maximum number of attachments for a forum | trana | Geek Article and Review System | 4 | 02-24-2006 07:22 AM |