1
feer
[Newbb] Redirect to the last topic
  • 2005/7/18 12:46

  • feer

  • Just popping in

  • Posts: 20

  • Since: 2002/2/23


Hi :)

I've found a bug on newbb, I'm using an old version of XOOPS 1.3.x but this bug is also present in newbb 2.
When a user post a message he is redirect to the last message except if the topic has more than one page ...
in this case the member is redirect at the start of the topic.

You can read it here

Do you think it's possible to correct this bug ?

Thank you, Frederic.



2
feer
Re: [Newbb] Redirect to the last page
  • 2005/7/17 19:13

  • feer

  • Just popping in

  • Posts: 20

  • Since: 2002/2/23


Well if i was capable of writing a hack for this problem, I would not have put the question here

BTW, it's not only a problem with newbb1 ... but newbb2 has also the same bug, do a test on a topic with more than one page.

Frederic



3
feer
Re: [Newbb] Redirect to the last page
  • 2005/7/15 20:57

  • feer

  • Just popping in

  • Posts: 20

  • Since: 2002/2/23


Hi phpp,

I thank you to trying to help me, but I didn't understand.
What's the code should I add or replace ?

Frederic



4
feer
Re: [Newbb] Redirect to the last page
  • 2005/7/15 18:08

  • feer

  • Just popping in

  • Posts: 20

  • Since: 2002/2/23


Yes you're right bluenova, I'm using the the initial release of XOOPS 1.3.x and don't think to upgrade to the version, my website is too much hacked...btw, this part of the code is really similar between the first and last version of newbb ...

Quote:
Just realised I've been talking cr*p, it does go to the last page?? It with comments that it goes to the first page.


are you sure about this, cause I post a message (for testing) on frxoops.org and I get back to the first topic page



5
feer
Re: [Newbb] Redirect to the last page
  • 2005/7/15 15:22

  • feer

  • Just popping in

  • Posts: 20

  • Since: 2002/2/23


Thanks bluenova, but newbb is not supported anymore ?



6
feer
[Newbb] Redirect to the last page
  • 2005/7/15 12:32

  • feer

  • Just popping in

  • Posts: 20

  • Since: 2002/2/23


Hi

When you post a new message on a thread (with more than one page) the user is redirect on the first page of the topic, it would be great if the user could be redirect to the last page...the last message in fact.

Do you think this code could be easily hacked ?

---
../newbb/post.php (line 226 at 233)
---

if ( $HTTP_POST_VARS['viewmode'] == "flat" ) {
redirect_header("viewtopic.php?topic_id=".$forumpost->topic()."&post_id=".$postid."&order=".$order."&viewmode=flat&pid=".$pid."&forum=".$forum."#forumpost".$postid."",2,_MD_THANKSSUBMIT);
exit();
} else {
$post_id = $forumpost->postid();
redirect_header("viewtopic.php?topic_id=".$forumpost->topic()."&post_id=".$postid."&order=".$order."&viewmode=thread&pid=".$pid."&forum=".$forum."#forumpost".$postid."",2,_MD_THANKSSUBMIT);
exit();
}



7
feer
Is url_rewriting really interesting ?
  • 2005/5/28 15:16

  • feer

  • Just popping in

  • Posts: 20

  • Since: 2002/2/23


Hi everyone,

I'm a running a pretty great website on XOOPS 1.3.x

I ask the question, is url rewriting really a great thing for a website to increase and/or improve the referencing of a website ?

Have you noticed many changes before and after you url_rewrted your forum, or your forum ?

Thanks a lot



8
feer
enhancing newbb
  • 2004/7/14 10:36

  • feer

  • Just popping in

  • Posts: 20

  • Since: 2002/2/23


hi everyone, I know XOOPS 1.3.x is not the last release, but it's mine and I like it

when we browse the forums or topics, the category is never displayed (see below):

before: Forum Index -> Test Forum
after: Forum Index -> Test Category -> Test Forum

i'm not too familiar with php :-/ ... can someone trying to make this hack for me

Thank you

Frederic



9
feer
[xoops 1.3.x] would like to add a text on register.php
  • 2004/6/20 20:23

  • feer

  • Just popping in

  • Posts: 20

  • Since: 2002/2/23


Hi,

I would like to add a simple text on register.php file, but a simple echo "blabla"; didnt display the text

any help would be appreciate

Cheers

Frederic



10
feer
Re: unanswered posts hack
  • 2004/2/17 16:14

  • feer

  • Just popping in

  • Posts: 20

  • Since: 2002/2/23


no one




TopTop
(1) 2 »



Login

Who's Online

171 user(s) are online (112 user(s) are browsing Support Forums)


Members: 0


Guests: 171


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits