1
caek9
Wanted: Xoops Pro for Hire
  • 2008/12/29 4:44

  • caek9

  • Friend of XOOPS

  • Posts: 35

  • Since: 2008/7/9 2


Hello, I'm running a website using XOOPS right now, but I have several issues with it that I can't quite figure out myself.

www.medicalmarijuanareferrals.com is the site in question.

One issue is with the default XOOPS forum module not giving a redirect. More information can be found here:
https://xoops.org/modules/newbb/viewtopic.php?topic_id=67044&forum=20

Another issue with the XOOPS forum is the way it displays the time stamp on posts. It should be in mm/dd/yyyy format

The forum module shouldn't hide posts after a certain amount of time. It's currently only displays posts made in the last 100 days.

I also have an issue with the way the news module puts a page counter in front of the new articles. That should be removed.

I'd also like the behavior of the Recent News block to be changed. Instead of simply displaying the tiles of the most recent news, it should display the titles of news not on the first page without a datestamp. This may require a new module to be made


Any help would be appreciated and I am willing to pay anyone who can fix these issues via PayPal. Please respond on the forums or at my email caek89[at]gmail.com

2
Anonymous
Re: Wanted: Xoops Pro for Hire
  • 2008/12/29 5:14

  • Anonymous

  • Posts: 0

  • Since:


Quote:
The forum module shouldn't hide posts after a certain amount of time. It's currently only displays posts made in the last 100 days.


Go to newbb preferences then set 'Since' default value = 0 for from beginning

if you don't find this option please upgrade your forum to last version.


3
caek9
Re: Wanted: Xoops Pro for Hire
  • 2008/12/29 21:46

  • caek9

  • Friend of XOOPS

  • Posts: 35

  • Since: 2008/7/9 2


Thank you for your response. We did fix the problem with your help. Do you have any suggestions as how to fix the rest of the issues? I see you know your stuff. Are you for hire?

4
anderssk
Re: Wanted: Xoops Pro for Hire
  • 2008/12/29 22:35

  • anderssk

  • Quite a regular

  • Posts: 335

  • Since: 2006/3/21


The timestap in newbb is from the language files.
Edit the global.php located in language/english/
What are the values in the file around line 167
I think default is:
define("_DATESTRING","Y/n/j G:i:s");
define("_MEDIUMDATESTRING","Y/n/j G:i");
define("_SHORTDATESTRING","Y/n/j");

Your code looks like "F j, Y g:i a" You could edit that to "m/d/y"
But wait - that is not a nice way, because it's the template.

What is the value of You 3 lines?


To remove the page counter in front of articles, I need more explanation.
is it the one from 1 to 38 when I click News in the usermenu?

And no - You don't need another module for the recent news block. The template just have to be edited.
What is the name of you theme (that's needed to answer)


I will help you, but You have to promise to help other people on xoops.org

5
Anonymous
Re: Wanted: Xoops Pro for Hire
  • 2008/12/29 23:29

  • Anonymous

  • Posts: 0

  • Since:


The help is Free

Your forum redirect problem


6
Anonymous
Re: Wanted: Xoops Pro for Hire
  • 2008/12/29 23:34

  • Anonymous

  • Posts: 0

  • Since:


Quote:
I also have an issue with the way the news module puts a page counter in front of the new articles. That should be removed.

I'd also like the behavior of the Recent News block to be changed. Instead of simply displaying the tiles of the most recent news, it should display the titles of news not on the first page without a datestamp. This may require a new module to be made

Try my module latestnews, you can see demo here before install it and you need to upgrade news module to ver 1.63


7
caek9
Re: Wanted: Xoops Pro for Hire
  • 2008/12/30 23:02

  • caek9

  • Friend of XOOPS

  • Posts: 35

  • Since: 2008/7/9 2


Quote:
To remove the page counter in front of articles, I need more explanation. is it the one from 1 to 38 when I click News in the usermenu?


Yes, thats what I'm talking about. The numbers that allow you to browse the news. I'd like it so they only appear at the bottom of the page, after the news, not at the top.


Quote:
Your code looks like "F j, Y g:i a" You could edit that to "m/d/y" But wait - that is not a nice way, because it's the template. What is the value of You 3 lines?

My code looks like
define("_DATESTRING","F j, Y g:i a"); define("_MEDIUMDATESTRING","Y/n/j G:i"); define("_SHORTDATESTRING","Y/n/j");


as you said, but what are you talking about the template? I edited it as per your suggestion and it works just fine, but if there is a better way to do it let me know.

And my theme is called "MM" without quotes.

8
anderssk
Re: Wanted: Xoops Pro for Hire
  • 2008/12/31 10:04

  • anderssk

  • Quite a regular

  • Posts: 335

  • Since: 2006/3/21


To remove the page counter.
Create a folder in your theme called modules
In that folder you create a new folder called news

You should now have it like this /themes/mm/modules/news

Now copy the file
news_index.html from /modules/news/templates to /themes/mm/modules/news

Edit the file news_index.html
Find, and remove the line
<div style="margin: 10px;"><{$pagenav}></div>


that's it

What You just learned, is that XOOPS look for templates in the themefolder befor using the one's in the module.

Recent news block
You have the folder /themes/mm/modules/news
Now create /themes/mm/modules/news/blocks

Copy the file news_block_top.html from /modules/news/templates/blocks to /themes/mm/modules/news/blocks

Edit the file

I think You need to remove this lines (in the bottom of the file)
<{if $block.sort=='counter'}>
                            [<{
$news.hits}>]
                        <{elseif 
$block.sort=='published'}>
                            [<{
$news.date}>]
                        <{else}>
                            [<{
$news.rating}>]
                        <{/if}>



About the dateformat, it's fine to edit in global.php
But it's used on all pages, so if you want the dateformat on all pages let it be, as it is now.


9
caek9
Re: Wanted: Xoops Pro for Hire
  • 2008/12/31 23:59

  • caek9

  • Friend of XOOPS

  • Posts: 35

  • Since: 2008/7/9 2


Thank you for the swift reply. I've been trying to get rid of the page counter at the top as per your instruction. I followed your directions, creating a themes/MM/modules/news directory, and copying the "news_index.html" file into it. I then removed the line you specified. Nothing changed on my website.

After that failed I removed the line from the news module its self, but that did not work either. Is there something here I am missing? I feel like I'm getting close. I even created a /themes/MM/modules/news/templates folder with news_index inside, just in case, but that didn't work as well.

10
anderssk
Re: Wanted: Xoops Pro for Hire
  • 2009/1/1 11:24

  • anderssk

  • Quite a regular

  • Posts: 335

  • Since: 2006/3/21


witch version of XOOPS are You running

Login

Who's Online

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


Members: 0


Guests: 129


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