Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
8 - 2 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re:Phpkaox - change to
by jakiechan on 2004/11/9 3:22:47

Yes, its pretty simple
find the viewtopic.php file under /modules/newbb/
near the top find these strings
//use users preferences
if (is_object($xoopsUser)) {
$viewmode = $xoopsUser->getVar('umode');
$order = ($xoopsUser->getVar('uorder') == 1) ? 'DESC' : 'ASC';

and make it look like this

//use users preferences
if (is_object($xoopsUser)) {
$viewmode = $xoopsUser->getVar('flat');
$order = ($xoopsUser->getVar('ASC') == 1) ? 'DESC' : 'ASC';

and bam, instant flat for all
Phpkaox - change to "flat" from "threaded" of view mode initially
by dougfc on 2004/10/23 12:47:05

I use Phpkaox theme that all replies of topics are in threaded of view mode initially. So readers cannot read all contents of a topic aftering clicking it. They must click one of the reply and read the content. Or they must click the buttion "flat" of view mode by themselves. It will not be so convenient for them and they do not used to it. How can I change replies from "threaded" to "flat" of view mode after clicking the topic like XOOPs website? Then readers can read all the contents of a topic after clicking the topic. I have checked the user settings but I cannot find any hints. Any ideas? Thank you in advance

Cheers,
doug

Who's Online

718 user(s) are online (651 user(s) are browsing Support Forums)


Members: 0


Guests: 718


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits