1
Skype-Fr
Re: TPL admin xsitemap
  • 1/1 15:20

  • Skype-Fr

  • Just popping in

  • Posts: 39

  • Since: 2006/4/27


Oh, thank you Mamba ! As always, your availability and expertise are fantastic.

Happy New Year to all !

PS: I'm taking this opportunity to offer a French localization:
https://github.com/XoopsModules25x/xsitemap/pull/29



2
Skype-Fr
TPL admin xsitemap
  • 12/31 16:39

  • Skype-Fr

  • Just popping in

  • Posts: 39

  • Since: 2006/4/27


Hi all,

I added the xsitemap 1.56 module to a Xoops 2.5.11 site. From the user's perspective, the sitemap displays perfectly. However, there is a serious problem in the administration panel :

Erreur: SmartyCompilerException: Syntax error in template "db:db:xsitemapadminindex.tpl" on line 2 "<{includeq file='db:xsitemap_admin_header.tpl' }>" unknown tag 'includeq' dans le fichier /class/libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php ligne 2



3
Skype-Fr
Re: Choice of editors for the Newbb module
  • 2025/2/9 16:00

  • Skype-Fr

  • Just popping in

  • Posts: 39

  • Since: 2006/4/27


Hi Mamba,

This code causes the HTTP : ERROR 500 !

I'll keep looking on my side ...

G.



4
Skype-Fr
Re: Choice of editors for the Newbb module
  • 2025/1/31 19:28

  • Skype-Fr

  • Just popping in

  • Posts: 39

  • Since: 2006/4/27


For the time being, I'm going to leave the choice up to the publishers, because it's not a blocking issue.

As for the missing moderation, while waiting for a ‘clean’ solution, I've modified the function newbbIsAdmin() to force ‘Admin’ status for 2 uid ... and it works.



5
Skype-Fr
Re: Choice of editors for the Newbb module
  • 2025/1/31 18:52

  • Skype-Fr

  • Just popping in

  • Posts: 39

  • Since: 2006/4/27


No real errors, just a few reports of obsolete code ... like :

"XoopsTpl::get_template_vars is deprecated, please use getTemplateVars trace: /class/template.php:654 /modules/newbb/viewtopic.php:179"

I know how to correct this kind of error but I don't think it will have a different result ...




6
Skype-Fr
Re: Choice of editors for the Newbb module
  • 2025/1/31 17:13

  • Skype-Fr

  • Just popping in

  • Posts: 39

  • Since: 2006/4/27


Thank you Mamba,

Unfortunately, that's what I'd already set up and I've just checked ! This has no effect because users still have a choice of 4 editors ...

That's not the only problem, the moderators don't have their privileges; at the moment only the administrator has moderator functions. However, the moderators are declared in the module parameters !

I should point out that the site runs under PHP 7.3.33, is that the problem?

Regards / G.



7
Skype-Fr
Choice of editors for the Newbb module
  • 2025/1/30 21:13

  • Skype-Fr

  • Just popping in

  • Posts: 39

  • Since: 2006/4/27


Hi all,

I'm using Newbb v5.1.0 beta; is this the right version for Xoops 2.5.11?

It seems to work but I'd like to know what I need to do to ensure that the choice of editor is only :
1/ Basic
2/ Dhtml5

Because at the moment there is a choice of 4 editors for all users! I don't want the ‘wysiwyg’ editors to be visible (because the existing posts are XoopsCode).

Of course, the ‘System’ parameters are set: Dhtml5 editor for modules.

Thank you for your assistance



8
Skype-Fr
Re: Suggetions for xmNews & xSitemap
  • 2024/10/11 9:01

  • Skype-Fr

  • Just popping in

  • Posts: 39

  • Since: 2006/4/27


Hi all,

Sorry, my mistake, with a recent theme xmNews offers a specific Meta Description of the article with 80 characters ... Finally xmNews is doing the right job!



9
Skype-Fr
Re: Suggetions for xmNews & xSitemap
  • 2024/10/10 15:11

  • Skype-Fr

  • Just popping in

  • Posts: 39

  • Since: 2006/4/27


correction : if, like me, you have ‘xmNews’ on your home page :

<{if $xoops_requesturi == '/modules/xmnews/index.php' or $xoops_requesturi == '/modules/xmnews/'}>
    <
link rel="canonical" href="<{$xoops_url}>/" /> 
    <{else}>
    <
link rel="canonical" href="<{$xoops_url}><{$xoops_requesturi}>" />
    <{/if}>



10
Skype-Fr
Suggetions for xmNews & xSitemap
  • 2024/10/10 13:19

  • Skype-Fr

  • Just popping in

  • Posts: 39

  • Since: 2006/4/27


I hesitated for a long time between choosing WordPress and Xoops to create an information site, essentially a news site (specialized content), similar to a journalistic site (no forum, no download library, or other diverse features). I was ready to go with WP, which is stronger in terms of SEO (its main advantage over Xoops), but ultimately, WP's block-based editor never convinced me and tipped the balance towards Xoops, a platform I know well.

For reasons that are a bit complicated to explain here, I should mention that my hosting environment is limited to PHP 7.33 and MySQL 8, which led me to choose Xoops 2.5.10, equipped with the xmNews and xSitemap modules.

Once the site was nearly finished, with about a dozen articles written, I faced a total de-indexation (all URLs returned 404 errors) due to a bug in the 'preloads' folder... It took me four days and nights to finally understand why and how it happened! I didn’t see any warning either during the installation of 2.5.10 or in the modules affected by this bug. However, it might be my own fault for not reading the documentation carefully enough, as I'm quite accustomed to setting up Xoops sites in earlier versions. I won’t dwell further on this, as it’s not the main focus of my topic.

I simply wanted to offer some suggestions about the xmNews and xSitemap modules in terms of SEO. This is important because even the most beautiful website in the world is useless if it doesn’t have any visitors!

1/ xmNews

It's important that every article complies with Google and Bing's recommendations.

xmNews offers a list of specific keywords for each article, but that doesn’t matter! It’s been a long time since the two main search engines stopped taking the “keywords” tag into account.

What really matters is the meta Title and Description. As for the Title, xmNews uses the article's title, which is great... but why mix it with the "sitename"? That’s counterproductive, the article title alone is sufficient. The sitename appears everywhere else, and search engines don’t like over-optimization!

Regarding the meta Description, it’s the same for every page, which is a real shame :(
I suggest generating the meta Description with the first 250 characters of the article’s summary (or scoop).

In the meantime, I will likely write some PHP code to modify the Article page and create a new Smarty variable with these 250 characters. However, I wonder if it's possible to achieve this directly in the article's template, since we already have the {$news} variable. I'm not skilled enough in Smarty coding to know if we can extract the first 250 characters from {$news} directly within the template... This would have the advantage of preserving the modification during a module update through template overrides.

Moreover, xmNews would be even better for SEO if there was a "canonical" tag. For now, I’ve added this "canonical" tag myself with a modification to the template that looks like this:


    <{if 
$xoops_requesturi == '/modules/xmnews/index.php' or $xoops_requesturi == '/modules/xmnews/index.php' or $xoops_requesturi == '/modules/xmnews/'}>
    <
link rel="canonical" href="<{$xoops_url}>/" /> 
    <{else}>
    <
link rel="canonical" href="<{$xoops_url}><{$xoops_requesturi}>" />
    <{/if}>


Finally, the 'must-have' would be specific OpenGraph tags for each article (and even for the whole site)

2/ xSitemap

The very existence of a sitemap is SEO, right? So why not do the job completely!
xSitemap should reference the URL of each article! Why does it limit itself to referencing categories? Google and Bing love when we point out the specific URLs we want them to index. Otherwise, they wouldn’t have invented sitemaps!

Of course, these are just personal suggestions, but I believe they could really improve the traffic for a site built with these modules...

Regards / Gerard




TopTop
(1) 2 3 4 »



Login

Who's Online

634 user(s) are online (546 user(s) are browsing Support Forums)


Members: 0


Guests: 634


more...

Donat-O-Meter

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

Latest GitHub Commits