This forum is for churches and ministries using Web-Empowered Church tools or packages. If you are a WEC customer, please submit a ticket. If you are reporting a bug with one of our plugins, please email us. If you are a business entity and want help that you cannot find here, please look at our services.
Notice: we are using new forum software and most messages from last 2 years were transferred. If you had an account before, please login to post a message on the forum.
| Author | Message |
|---|---|
|
Written on: 07/31/2008
|
|
|
Andi Becker
Topic creator
registered since: 11/28/2005
Posts: 136
|
Hi I have a strange behaviour in one of our sites. Working site: kuching.hopethailand.org/community/forum/ clicking a post leads to a very long url kuching.hopethailand.org/community/forum/?tx_mmforum_pi1[action]=list_post&tx_mmforum_pi1[tid]=1&tx_mmforum_pi1[page]=1&tx_mmforum_pi1[fid]=4&tx_mmforum_pi1[pid]=page#pid1 2. Site hopethailand.com/community/forum/ clicking on a post leads here to the error page and the url is much shorter hopethailand.com/community/forum/posts/general/12345-test/page/1/#pid2 The other links on this site work fine - both are using the their identical WEC-Starter Package as base on the same server and are still running on realurl. deleting caches, and speakingurls in INFO hasn't helped. Also i deleted the autoconfig file. I did both always parallel on both sites wo those steps are working on kuching but not on the .com site Any ideas appreciated Thanks! Andi |
|
Written on: 08/01/2008
|
|
![]() Jeff Segars
registered since: 12/20/2004
Posts: 665
|
Andi, If you look at the RealURL config through Web->Info, Speaking URL Management does the mm_forum config look identical for both sites? It might also be worthwhile go in through phpmyadmin and actually truncate or empty all the RealURL cache tables rather than using the backend tool. I've seen a few times where settings seemed to get stuck. Thanks, Jeff |
|
Written on: 03/22/2011
|
|
|
Johan Snellman
registered since: 11/22/2010
Posts: 25
|
My realurl_conf.php seems not to be perfect. The config looks like this now: [code]'mm_forum_pi1' => array ( array ( 'GETvar' => 'tx_mmforum_pi1[action]', 'valueMap' => array ( 'topics' => 'list_topic', 'post' => 'list_post', 'member' => 'forum_view_profil', 'reply' => 'new_post', 'newtop' => 'new_topic', 'alert' => 'post_alert', 'edit' => 'post_edit', 'del' => 'post_del', 'hist' => 'post_history', 'list-una' => 'list_unans', 'unr' => 'list_unread', 'all-red' => 'reset_read', 'setlook' => 'set_havealook', 'dellook' => 'del_havealook', 'favorit' => 'set_favorite', 'delfavorit' => 'del_favorite', 'praefix' => 'list_prefix', 'getatt' => 'get_attachment', ), ), array ( 'GETvar' => 'tx_mmforum_pi1[fid]', 'lookUpTable' => array ( 'table' => 'tx_mmforum_forums', 'id_field' => 'uid', 'alias_field' => 'forum_name', 'addWhereClause' => ' AND NOT deleted', 'useUniqueCache' => 1, 'useUniqueCache_conf' => array ( 'strtolower' => 1, 'spaceCharacter' => '_', ), ), ), array ( 'GETvar' => 'tx_mmforum_pi1[tid]', 'lookUpTable' => array ( 'table' => 'tx_mmforum_topics', 'id_field' => 'uid', 'alias_field' => 'topic_title', 'addWhereClause' => ' AND NOT deleted', 'useUniqueCache' => 1, 'useUniqueCache_conf' => array ( 'strtolower' => 1, 'spaceCharacter' => '_', ), ), ), array ( 'GETvar' => 'tx_mmforum_pi1[pid]', ), array ( 'GETvar' => 'tx_mmforum_pi1[page]', 'valueMap' => array ( 'page' => 'page', ), ), array ( 'GETvar' => 'tx_mmforum_pi1[user_id]', 'lookUpTable' => array ( 'table' => 'fe_users', 'id_field' => 'uid', 'alias_field' => 'username', 'addWhereClause' => ' AND NOT deleted', 'useUniqueCache' => 1, 'useUniqueCache_conf' => array ( 'strtolower' => 1, 'spaceCharacter' => '_', ), ), ), ), 'my_forum_id' => 'mm_forum_pi1',[/code] In this following sample I changed the words "subject" and "section": when clicking/coming from: www.myhp.org/en/community/forum/topics/section/ I get this good looking one - when clicking on the subject header: www.myhp.org/en/community/forum/post/section/subject/ but if the subject has more pages and you click directly on the page number "1" instead of the header, then I get this: www.myhp.org/en/community/forum/post//subject/ instead of the upper one. If I now go on page "2" I get this: www.myhp.org/en/community/forum/post//subject//1/ instead of www.myhp.org/en/community/forum/post//subject/page/2/ a.s.o. 1. I would like to get rid of these empty "//" or that there is a content in. 2. When it goes to pages directly then there should be "/page/1/", "/page/2/" "/page/3/" instead of "//1/", "//2/", "//3/" 3. The url of the pages should have the same "layout" if clicking on the "header" and/or clicking on the page number directly. Any solutions? [This article was edited 2 times, at last 22.03.2011 at 04:00.] |