Seems like there is no fix for this until Support Team actually work on the script itself.

Just avoid using the tag function for now until it is fixed. Other than your above stated bug, there is also a pagination bug to the tag feature whereby the pagination is totally messed up when you enter a specific tag page.

Latest Update:

Thanks Support Team for fixing the problem. The pagination now works properly except for one more error in the pagination coding.

Since CuteNews 2.0, there is now a "Tagline" feature. If you click into the tagline URL and go to that specific tagline, the pagination is totally screw up. The code itself is unable to count the number of particular tagline there is to limit the number of pagination being create.

78

(4 replies, posted in Problem Solving / Help & Support)

Login to your account in CuteNews main page (top right corner you will find the user login).

Once inside, simply follow the instructions. You should be able to download a file called "reg" which must be place inside your cdata folder.

Did you update your CuteNews to the latest version in Github?

Any luck at resolving this Perry?'

Quicknote: What we want to achieve is to link the full story to a whole new PHP page instead of the same page as where the news are located.

Hi,

I just tried your code and I added it to my <head> area but it doesn't work.

Do I need to change anything from the code?

Hey guys,

May I know if I can remove the following and will the code still work properly?

echo "<meta property=\"og:title\" content=\"".$header_title." \" />";
echo "<meta property=\"og:image\" content=\"http://hcmeanmachine.com/cutenews/uploads/".$image."\"/>";
echo "<meta property=\"og:description\" content=\"".$fdesc."\" />";

and

echo "<meta property=\"og:title\" content=\"Masiina » Uutiset\" />";

Thanks

83

(1 replies, posted in Problem Solving / Help & Support)

Up having this too.

Up, problem still not fix.

Still looking for a better solution for this. Anyone?

I am also looking on how to do this, someone please help us thanks.

Thanks Matt! Will try it out once I am free.

Sorry if I am asking too much but is there a cleaner version for this so I can understand the PHP code properly or could you explain to me how it work?

Hello,

How can I add news headlines to my page title? Back in 1.5.x, there is this hack which I used it and it worked perfectly. This is the URL to the page title hack, https://cutephp.com/forum/index.php?showtopic=31743

I tried to use this in CuteNews 2.0 but it doesn't work.

Please help.

Thanks

Hello,

There is currently a bug in CuteNews 2.0 whereby when you send your news to the archives, the news will still appear at the original news page and there will be nothing shown in the archives.

Example,

I archive News 1 and News 2 to the archives. News 1 and News 2 still appear at my main news page (it is suppose to be transfer to the archive page).
In archive, there is no News 1 and News 2 at all.

Please kindly help me look into this as archiving is a very important function for a news system.

Thanks

90

(4 replies, posted in Problem Solving / Help & Support)

I didn't have any problem with your problem 1 with my CuteNews. Did you activate "Check IP" under System Configuration?

And regarding problem 3, you can actually send and still retrieve archives. Go to your "Dashboard" and under "Archives", select the dates which you want CuteNews to send the news to the archive. CuteNews will send the entire news article from that particular date that you assigned to the archives. However, there is a bug currently where the news that are being send to the archives can't be seen and they still appear at the original news page.

P.S: I paid for the pro license too.

Up for a reply. :]

As if now, I have progressed through abit on fixing the problem. This are the things which I changed,

Line 109 (Original)

$_prev_num = $start_from - $number + 1;

Changed to,

$_prev_num = $start_from - $number;


Line 126 (Original)

elseif ($start_from && $start_from <= ($number - 1))

Changed to,

elseif ($start_from && $start_from <= ($number + 1))


Line 147 (Original)

$_next_num = $start_from + $number - 1;

Changed to,

$_next_num = $start_from + $number;


By changing the above lines, the articles now display properly at each page. However a new problem arise which is when you are at the last page of your article, you can still press "Next" to the next page. This next page do not have any news article and hence based on the PHP code, "No entries to show" is displayed. To give you an example,

Page 3
Article 3
Article 2
Article 1
[Prev][Next]

Page 4
No entries to show
[Prev][Next]

Note: Italic wording means it is a hyperlink.

From the above example, page 4 doesn't have any article at all yet at page 3, the [Next] button points it to page 4. Based on my findings, this is caused by this particular rule,

Line 145

if ($number && $_show_rows == $number)

Because of this rule, at page 3 when the number of articles is reached, the $_show_rows will have 3. Since the $number is 3, the [Next] button at page 3 will create page 4 due to this rule. However, this does not apply to page 4 because page 4 doesn't have a single article, hence the $_show_rows in page 4 is 0 (this case, the rule can't apply and create a "page 5").


Because of my limited understanding of PHP and everything else, I hope this helps you out Support_Team in fixing the pagination. If not, I can't progress my website having this error within the CMS itself.


Hope to get a reply from you guys, thanks.


P.S: PM if you need a live demo from my website. I don't wish to post my website URL here. Thanks. https://cutephp.com/forum/style_emoticons/default/smile.gif

Based on my findings, it seems that this is caused by the equation from the pagination that you guys used in the "active_news.php".

Still hoping for an answer from you guys soon on the fix. https://cutephp.com/forum/style_emoticons/default/smile.gif

Thanks

PHP 5.3

Found out how. Apparently I didn't see carefully. There is a "Page alias" at "Add News" so you basically just need to put in your title in there!

Thanks for the great URL rewriter CuteNews! https://cutephp.com/forum/style_emoticons/default/smile.gif

Hello,

Currently I have discovered a new error from the new 2.0 pagination.

I will show it to you guys what is the problem with the pagination as of now,

Note: Each page will only show 4 news.

Test 7
Test 6
Test 5
Test 4
[Page 1]

Test 4
Test 3
Test 2
Test 1
[Page 2]

From the above example, the problem is obvious. Upon entering to page 2, the article "Test 4" appear again. "Test 4" has already appeared at page 1 and therefore in page 2, only "Test 3", "Test 2", "Test 1" should appear. To further prove that there is a problem, I now change the number of news to show per page to 3.

Test 7
Test 6
Test 5
[Page 1]

Test 5
Test 4
Test 3
[Page 2]     

Test 3
Test 2
Test 1
[Page 3]       

Test 1
[Page 4]

From the above example, the same thing happened again.

Hope you see this Support_Team and a fix will come in so I can get my website to work with the new version of 2.0! :3

P.S: It is great to see that you guys have fixed the "Previous" URL for the pagination which plague the version 1.5.x. Thanks alot!

Hello!

May I ask if there is a way to rewrite the URL so that it will show the article title and the ID number?

For example, at the moment I have an article called "Hey everyone!" but the URL the URL rewrite gives me is http://www.mysite.com/news/10.html. I fully understand that removing the ID will create alot of work for the URL rewriter engine itself, therefore is there a way to rewrite the URL to show both the ID and the article title for example http://www.mysite.com/news/10/hey-everyone/.

Is this technically possible by modifying the htaccess file?

Thanks

Hello,

I am having the exact same problem here too. My server is using PHP5.

If you mean sub-category, then unfortunately I believe it isn't possible. However they are currently working on CuteNews 2.0, which is said to have the sub-category function.

100

(2 replies, posted in Problem Solving / Help & Support)

As far as I am concern, there is problem with the CAPTCHA. So no matter how many times you key in the correct CAPTCHA, it will just say that it is incorrect.

You will be better off switching it off unless you know how to fix it. https://cutephp.com/forum/style_emoticons/default/smile.gif