Once again, I forgot to mention about .htaccess rewrite rule for user profile urls. Sorry for that.
Ahh nice login snippet, never used that one b4.
I installed the webloginPE only the member profile(s) link still isn’t correcto, do i have to make a page user with some chunk? Also there are no images with the form messages.
The most important thing i think is to be able to delete all messages (as an admin), when logged into the cms and have permissions?
Your snippet is becomming very nice
[!WebLoginPE? &type=`users`!]
RewriteRule ^user/([a-zA-Z0-9]+)/$ /users?service=viewprofile&username=$1 [QSA,L]
Yes, you will see edit and remove links if you will log in administrate panel as manager user.
Hi Rickdrummer
Forgot about WebloginPE package. This package allows to view user profiles (and some other login staff). Maybe I will add option in myForum for username links for installations without this package.aaaah, okay, with webloginPE installed you would see a user’s profile when clicking on the username
the installation seems to work in the subfolder btw. ( with some of the tweaks i mentioned above, and as far as i can judge on how the forum should work )
should i be able to see & edit the forum as a manager user, or is that something webloiginPE related as well?
thanks, j
Little update in version 0.3:great - thanks! j
- Fixed english dates,
- Added onfig var for enable/disable user profiles
- Changed install instruction
Update instructions inside the package archive.
. I downloaded and installed myforum_v0.3. I made all the tweaks listed above including the .htaccess ReWrites and installing PHx. I did notice that myforum.class.inc.php is labelled version 0.2 (wasn’t sure if this was a typo).1. Does your hosting allows you to use RewriteEngine?
This thread is very exciting as I have been hoping to have something like this.
This is the experience coming from a non-programmer. I downloaded and installed myforum_v0.3. I made all the tweaks listed above including the .htaccess ReWrites and installing PHx. I did notice that myforum.class.inc.php is labelled version 0.2 (wasn’t sure if this was a typo).
Anyway I am able to create a new thread, but once they are made I get a 404 Error when trying to view made threads. The thread link seems correct: ".../forum/topic/1/". I also added a user page but get the same 404 error when clicking on the user link.
Any suggestions would be great.
1. Does your hosting allows you to use RewriteEngine?
2. Check your document alias from where you are calling myforum snippet. It must be named ’forum’.
3. Try to acces forum topic, typing "yoursite.com/forum/topic/1/". Maybe there is a problem with ’mfUrl’ variable.
$mf->set("mfUrl", '/MODx/forum/');$mf->set("mfUrl", '/forum/');RewriteRule ^MODx/forum/topic/([0-9]+)/?$ index.php?q=forum&a=showTopic&topicId=$1 [L,QSA] RewriteRule ^MODx/user/([a-zA-Z0-9]+)/$ /users?service=viewprofile&username=$1 [QSA,L]
I think that the problem is in:
Modification to .htaccess:
RewriteRule ^MODx/forum/topic/([0-9]+)/?$ index.php?q=forum&a=showTopic&topicId=$1 [L,QSA] RewriteRule ^MODx/user/([a-zA-Z0-9]+)/$ /users?service=viewprofile&username=$1 [QSA,L]
I am able to create the new topic just not see it, almost like the new topic wasn’t saved to a document. Same problem with the "yoursite.com/MODx/forum/user/[name]" links.
Thanks for the help.
RewriteRule ^MODx/forum/topic/([0-9]+)/?$ index.php?q=forum&a=showTopic&topicId=$1 [L,QSA]
RewriteRule ^MODx/forum/topic/([0-9]+)/?$ index.php?q=MODx/forum&a=showTopic&topicId=$1 [L,QSA] RewriteRule ^MODx/user/([a-zA-Z0-9]+)/$ MODx/users?service=viewprofile&username=$1 [QSA,L]
RewriteRule ^forum/topic/([0-9]+)/?$ index.php?q=forum&a=showTopic&topicId=$1 [L,QSA] RewriteRule ^user/([a-zA-Z0-9]+)/$ /users?service=viewprofile&username=$1 [QSA,L]
RewriteRule ^MODx/forum/topic/([0-9]+)/?$ index.php?q=MODx/forum&a=showTopic&topicId=$1 [L,QSA] RewriteRule ^MODx/user/([a-zA-Z0-9]+)/$ MODx/users?service=viewprofile&username=$1 [QSA,L]