31
cptwinky
www. subdomain
  • 2004/5/2 2:22

  • cptwinky

  • Just popping in

  • Posts: 37

  • Since: 2004/5/1 2


In my mainfile.php my websites address is www.nixpert.com and everything works fine as long as I use that address. If I try and access my site without the www. I get a module does not exist error.

I'm guessing this was not intended, I also can't imagine that I am the first person to notice. So, how can I fix it?

Thanks in advance for all your help.



32
cptwinky
newbb pro
  • 2004/5/2 2:14

  • cptwinky

  • Just popping in

  • Posts: 37

  • Since: 2004/5/1 2


I installed the newbb pro hack and love it but for some reason the image for locked topics (the big one) shows nothing, not even a description. Can someone tell me where the code to handle this is located so I can set it right?

Here is my work in progress so you can understand what I'm talking about.

http://www.nixpert.com/
http://69.57.186.90/~nixpert/ (incase dns has not resolved for you yet.)




33
cptwinky
Re: NewBB Topic in Title
  • 2004/5/2 1:58

  • cptwinky

  • Just popping in

  • Posts: 37

  • Since: 2004/5/1 2


Thats a good idea. Thanks.

I think this works...
<title><{$xoops_sitename}> - <{$xoops_pagetitle}><{if $xoops_post_title}> - <{$xoops_post_title}><{/if}></title>



34
cptwinky
NewBB Topic in Title
  • 2004/5/1 23:35

  • cptwinky

  • Just popping in

  • Posts: 37

  • Since: 2004/5/1 2


This is my first post here so first let me say that I love Xoops. I have used it before and did not like it (can't remember exactly what I did not like, it was a while ago) but 2.0.6 has got me hooked.

Anyways, I still do not know much about the core of this program so maybe someone could help improve this hack in some way I have yet to see...

I wanted to get the title of the forum topic to show up in the browsers title, mainly for keywords in google. Here is how I did it...

ROOT/themes/*theme name*/theme.html
Change
<title><{$xoops_sitename}> - <{$xoops_pagetitle}></title>

To...
<title><{$xoops_sitename}> - <{$xoops_pagetitle}> - <{$xoops_post_title}></title>


ROOT/modules/newbb/viewtopic.php
Add
$xoopsTpl->assign('xoops_post_title'$forumdata['topic_title']);

Before...
include XOOPS_ROOT_PATH.'/footer.php';

(*Note: There may be better placement for this in viewtopic.php but I am very unfamiliar with XOOPS at the moment and just wanted to make sure that the object was initialized before being assigned.)

I hope this does somebody good.




TopTop
« 1 2 3 (4)



Login

Who's Online

199 user(s) are online (129 user(s) are browsing Support Forums)


Members: 0


Guests: 199


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