i asked punbb.or for a month ago and no is helping ... they have a good forum software but thier community is worst community i ever saw in my net life ...
ok here is the problem ...
this is the mod rewrite i use only edit two files ....
For Demo go here: [URL="http://www.sportstv.co.cc/"][URL="http://www.sportstv.co.cc/"]http://www.[/URL]sportstv.co.cc[/URL]
this site is not hosted here
here
open footer.php
find
add after
this code
http://www.sportstv.co.cc/html/forum.txt
and this is my htaccess
links should be like this:
http://www.sportstv.co.cc/s222-tvants.html (topic link)
http://www.sportstv.co.cc/s222-tvants.html#p363 (post link)
http://www.sportstv.co.cc/f24-softwares-p2p-softwares.html (forum link)
these are following bugs:
1- the Headline of the News in portal page is still old link ... i mean
2- in the http://www.sportstv.co.cc/forum.html the subforums links are old php links and also some of the forums have stupid links like:
http://www.sportstv.co.cc/f24.html
but inside the forums you will see these link
Index » (TV Softwares / P2P Softwares) » Sopcast
http://www.sportstv.co.cc/f24-softwares … wares.html
3- correct the redirection problems when you add a topic or add a post or edit a topic or increase a topic karma or topic rating
that 3 problems
these are the files that needs to be edited ...
for the first problem
index.php : http://www.sportstv.co.cc/html/index.txt
in the index.php find this:
what do i change to make the url right ..
2nd problem
this is my forum.php: http://www.sportstv.co.cc/html/forum.txt
look at http://www.sportstv.co.cc/forum.html to see that the subforums urls are old php urls and also some forums urls are not right such as TV Softwares / P2P Softwares forum which is like this http://www.sportstv.co.cc/f24.html
but is supposed to be like this
http://www.sportstv.co.cc/f24-softwares-p2p-softwares.html
finnaly the third problem
the redirect problem when ever some one post edit delete etc ...
these files are envolved:
viewtopic: http://www.sportstv.co.cc/html/viewtopic.txt
edit.php: http://www.sportstv.co.cc/html/edit.txt
post.php: http://www.sportstv.co.cc/html/post.txt
delete.php: http://www.sportstv.co.cc/html/delete.txt
if any file needed to tell me i will post it
i hope i came to the right place ...
thanks alot in advance
ok here is the problem ...
this is the mod rewrite i use only edit two files ....
For Demo go here: [URL="http://www.sportstv.co.cc/"][URL="http://www.sportstv.co.cc/"]http://www.[/URL]sportstv.co.cc[/URL]
this site is not hosted here
here
open footer.php
find
Code:
// END SUBST - <pun_include "*">
add after
this code
http://www.sportstv.co.cc/html/forum.txt
and this is my htaccess
Code:
RewriteEngine on
RewriteRule ^index.html$ index.php [L]
RewriteRule ^f([0-9]+)-page([0-9]+)-(.*).html$ viewforum.php?id=$1&p=$2 [L]
RewriteRule ^f([0-9]+)(.*)$ viewforum.php?id=$1 [L]
RewriteRule ^s([0-9]+)-page([0-9]+)-(.*).html$ viewtopic.php?id=$1&p=$2 [L]
RewriteRule ^s([0-9]+)-new-messages.html$ viewtopic.php?id=$1&action=new [L]
RewriteRule ^p([0-9]+)(.*).html$ viewtopic.php?pid=$1 [L]
RewriteRule ^s([0-9]+)(.*)$ viewtopic.php?id=$1 [L]
RewriteRule ^profile-([0-9]+)(.*)$ profile.php?id=$1 [L]
RewriteRule ^page-([0-9]+)(.*)$ page.php?id=$1 [L]
RewriteRule ^register.html$ register.php [L]
RewriteRule ^login.html$ login.php [L]
RewriteRule ^(.*).rss$ extern.php?action=$1&type=rss [L]
RewriteRule ^forum.html$ forum.php [L]
RewriteRule ^message_list.html$ message_list.php [L]
RewriteRule ^contact.html$ contact.php [L]
RewriteRule ^chatbox.html$ chatbox.php [L]
RewriteRule ^online.html$ online.php [L]
RewriteRule ^Links.html$ Links.php [L]
RewriteRule ^gallery.html$ gallery.php [L]
RewriteRule ^blogs.html$ blogs.php [L]
RewriteRule ^arcade.html$ arcade.php [L]
RewriteRule ^downloads.html$ downloads.php [L]
RewriteRule ^forgot_password.html$ login.php?action=forget [L]
RewriteRule ^search.html$ search.php [L]
RewriteRule ^search([0-9]+).html$ search.php?search_id=$1 [L]
RewriteRule ^search([0-9]+)-page([0-9]+).html$ search.php?search_id=$1&p=$2 [L]
RewriteRule ^userlist.html$ userlist.php [L]
RewriteRule ^search-24-hours.html$ search.php?action=show_24h [L]
RewriteRule ^([0-9]+)-my-messages.html$ search.php?action=show_user&user_id=$1 [L]
RewriteRule ^show_subscriptions.html$ search.php?action=show_subscriptions [L]
RewriteRule ^search-unanswered.html$ search.php?action=show_unanswered [L]
RewriteRule ^show_new.html$ search.php?action=show_new [L]
RewriteRule ^messages_by-([0-9]+).html$ search.php?action=show_user&user_id=$1 [L]
RewriteRule ^userlist-pseudo(.*)-group(.*)-sort(.*)-order(.*)-([0-9]+)(.*)$ userlist.php?username=$1&show_group=$2&sort_by=$3&sort_dir=$4&p=$5 [L]
RewriteRule ^rules.html$ misc.php?action=rules [L]
RewriteRule ^mark_read.html$ misc.php?action=markread [L]
links should be like this:
http://www.sportstv.co.cc/s222-tvants.html (topic link)
http://www.sportstv.co.cc/s222-tvants.html#p363 (post link)
http://www.sportstv.co.cc/f24-softwares-p2p-softwares.html (forum link)
these are following bugs:
1- the Headline of the News in portal page is still old link ... i mean
2- in the http://www.sportstv.co.cc/forum.html the subforums links are old php links and also some of the forums have stupid links like:
http://www.sportstv.co.cc/f24.html
but inside the forums you will see these link
Index » (TV Softwares / P2P Softwares) » Sopcast
http://www.sportstv.co.cc/f24-softwares … wares.html
3- correct the redirection problems when you add a topic or add a post or edit a topic or increase a topic karma or topic rating
that 3 problems
these are the files that needs to be edited ...
for the first problem
index.php : http://www.sportstv.co.cc/html/index.txt
in the index.php find this:
Code:
<td style="border: 0px; padding: 0px 10px 7px 7px;"><span class="news-icon"><a class="news_subject" href="viewtopic.php?id=<?php echo $cur_post['id']; ?>"><?php echo $cur_post['subject']; ?></a></span></td>
what do i change to make the url right ..
2nd problem
this is my forum.php: http://www.sportstv.co.cc/html/forum.txt
look at http://www.sportstv.co.cc/forum.html to see that the subforums urls are old php urls and also some forums urls are not right such as TV Softwares / P2P Softwares forum which is like this http://www.sportstv.co.cc/f24.html
but is supposed to be like this
http://www.sportstv.co.cc/f24-softwares-p2p-softwares.html
finnaly the third problem
the redirect problem when ever some one post edit delete etc ...
these files are envolved:
viewtopic: http://www.sportstv.co.cc/html/viewtopic.txt
edit.php: http://www.sportstv.co.cc/html/edit.txt
post.php: http://www.sportstv.co.cc/html/post.txt
delete.php: http://www.sportstv.co.cc/html/delete.txt
if any file needed to tell me i will post it
i hope i came to the right place ...
thanks alot in advance
Last edited: