61
THCowboy
Re: Menuitems
  • 2005/7/4 23:40

  • THCowboy

  • Just popping in

  • Posts: 84

  • Since: 2005/6/28


What do you mean change it? You want to get rid of it or change the title of the menu item?



62
THCowboy
Re: HTML pages show in search?
  • 2005/7/4 13:11

  • THCowboy

  • Just popping in

  • Posts: 84

  • Since: 2005/6/28


oops. wrong forum... will repost



63
THCowboy
HTML pages show in search?
  • 2005/7/4 8:15

  • THCowboy

  • Just popping in

  • Posts: 84

  • Since: 2005/6/28


It seems that mods are the only thing that shows up in the XOOPS search results. I have made my own html pages that are wrapped by XOOPS but do not show up in the XOOPS search.

Is there any way to make these pages show up in the search results without making them part of a mod?

Thanks, Warren



64
THCowboy
Re: how to change newbb posts default from threaded to flat
  • 2005/7/2 1:16

  • THCowboy

  • Just popping in

  • Posts: 84

  • Since: 2005/6/28


Unless you are talking about default comments?



65
THCowboy
Re: how to change newbb posts default from threaded to flat
  • 2005/7/2 1:15

  • THCowboy

  • Just popping in

  • Posts: 84

  • Since: 2005/6/28


"newbb 1 System Admin - Preferences - General Settings.

Newbb 2/CBB the module preferences for the newbb module."

okay I have version 1 ...but no sign of a choice under Sytem admin.

and the Forum preferences just says
Enable Notification
&
Enable Specific Events


so I am not sure what you are talking about.
Thanks,Warren



66
THCowboy
how to change newbb posts default from threaded to flat
  • 2005/7/1 23:20

  • THCowboy

  • Just popping in

  • Posts: 84

  • Since: 2005/6/28


I have looked and can't find how to make the default viewing of posts in newbb "flat". I know how to
change it for my viewing, but I want to change it so everybody sees flat posts by default.

Here is the code I think needs to be changed..not sure what to change though?

Okay found it here

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

// newbb does not have nested mode
if ($viewmode == 'nest') {
$viewmode = 'thread';
}

// override mode/order if any requested
if (isset($HTTP_GET_VARS['viewmode']) && ($HTTP_GET_VARS['viewmode'] == 'flat' || $HTTP_GET_VARS['viewmode'] == 'thread')) {
$viewmode = $HTTP_GET_VARS['viewmode'];
}
if (isset($HTTP_GET_VARS['order']) && ($HTTP_GET_VARS['order'] == 'ASC' || $HTTP_GET_VARS['order'] == 'DESC')) {
$order = $HTTP_GET_VARS['order'];
}

if ($viewmode != 'flat') {
$xoopsOption['template_main'] = 'newbb_viewtopic_thread.html';
} else {
$xoopsOption['template_main'] = 'newbb_viewtopic_flat.html';
}



67
THCowboy
Re: Egting templates - no edit option
  • 2005/7/1 22:30

  • THCowboy

  • Just popping in

  • Posts: 84

  • Since: 2005/6/28


nevermind... I didn't realize that I had to download and upload the changed file.

Thanks for the help.

Warren



68
THCowboy
Re: Egting templates - no edit option
  • 2005/7/1 22:24

  • THCowboy

  • Just popping in

  • Posts: 84

  • Since: 2005/6/28


I even turned on the option

"Update module template .html files from themes/your theme/templates directory?"

So I don't understand why I can see the change in the preview but not once I submit.



69
THCowboy
Re: Egting templates - no edit option
  • 2005/7/1 22:16

  • THCowboy

  • Just popping in

  • Posts: 84

  • Since: 2005/6/28


Thanks I did that and the clone worked. I changed the cloned file and don't see the change. I will look at the tutorial to see what I am not doing.



70
THCowboy
Editing templates - no edit option
  • 2005/7/1 22:02

  • THCowboy

  • Just popping in

  • Posts: 84

  • Since: 2005/6/28


I am trying to edit a template but there is no edit option, just view and download. How do I enable the edit option?

Thanks, Warren




TopTop
« 1 ... 4 5 6 (7) 8 9 »



Login

Who's Online

216 user(s) are online (151 user(s) are browsing Support Forums)


Members: 0


Guests: 216


more...

Donat-O-Meter

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

Latest GitHub Commits