121
aerograf
Re: xsitemap alternative theme
  • 2017/5/4 13:11

  • aerograf

  • Quite a regular

  • Posts: 214

  • Since: 2017/1/7 1


It is necessary to understand still with correct generation of a file xsitemap.xml
Search engines react poorly to reading subcategories from a file. Issue a warning.



122
aerograf
Re: xsitemap alternative theme
  • 2017/5/4 13:06

  • aerograf

  • Quite a regular

  • Posts: 214

  • Since: 2017/1/7 1


Quote:

zyspec wrote:
@aerograf / @Bleekk,

There was a new version of xsitemap uploaded today (v1.54 Beta) that you might want to look at before you modify anything other than templates. There were quite a few changes/improvements so it would be better to start modifying that version so we don't have to merge your new changes from an older version.

Revealed during the proceedings:
Include / functions.php to bring line 205 to this form:
Xml_url-> appendChild ($ xml-> createComment (htmlentities (ucwords ($ mod ['name'])). ""));

Fixes the problem of creating an xml file if there is a category name -
-----
If you use the xml_google.php file in the root of the site, you should add at the beginning:
If (! Defined ('SITEMAP_ROOT_CONTROLLER_LOADED'))) {
If (! 
File_exists (dirname (__ FILE __). '/ Modules / xsitemap / xml_google.php')) {
Die (
"Do not call this file directly");
}
If (! Empty ($ 
_SERVER ['REQUEST_URI']))) {
_SERVER ['REQUEST_URI'] = str_replace ('xml_google.php''modules / xsitemap / xml_google.php', $ _SERVER ['REQUEST_URI']);
} Else {
_SERVER ['REQUEST_URI'] = '/modules/xsitemap/xml_google.php';
}
_SERVER ['PHP_SELF'] = $ _SERVER ['REQUEST_URI'];
Define ('SITEMAP_ROOT_CONTROLLER_LOADED'1);
Real_xml_google_path dirname (__ FILE __). '/ Modules / xsitemap / xml_google.php';
Chdir ('./modules/xsitemap/');
Require $ 
real_xml_google_path;
Exit;
} Else {
Require_once 
__DIR__'../../mainfile.php';
}



123
aerograf
Re: xsitemap alternative theme
  • 2017/5/4 5:58

  • aerograf

  • Quite a regular

  • Posts: 214

  • Since: 2017/1/7 1


Thank you. I'll take advice.



124
aerograf
Re: xsitemap alternative theme
  • 2017/5/3 20:16

  • aerograf

  • Quite a regular

  • Posts: 214

  • Since: 2017/1/7 1


So far, only a template. But still in front.



125
aerograf
xsitemap alternative theme
  • 2017/5/3 19:29

  • aerograf

  • Quite a regular

  • Posts: 214

  • Since: 2017/1/7 1


I want to share a topic for xsitemap. Maybe someone will like it:
Demo (temporary):http://xoops.shmel.org/modules/xsitemap/
Download:http://xoops.shmel.org/dw/xsitemap_theme.rar



126
aerograf
Re: X-Forum 5.85 - Standard theme and another question
  • 2017/4/30 16:51

  • aerograf

  • Quite a regular

  • Posts: 214

  • Since: 2017/1/7 1


Quote:

aerograf wrote:
A little remade of the standard theme.
View:https://www.shmel.org/forums/
Take:ftp://home.shmel.org/home/xoops/xforum_theme_standart.rar

When switching view options (flat, etc.)
Fatal errorCall to undefined method xforumTree :: XoopsTree () in /http/modules/xforum/class/xforumtree.php on line 44

Who faced?
Xoops 2.5.8.1
X-Forum 5.85 Stable

Understood. It is necessary in /class/xforumtree.php a line:
This-> XoopsTree ($ table_name, $ id_name, $ pid_name);

replaced by:
This -> __ construct ($ table_name, $ id_name, $ pid_name);

Added links to posts when viewing the message tree.



127
aerograf
X-Forum 5.85 - Standard theme and another question
  • 2017/4/30 8:38

  • aerograf

  • Quite a regular

  • Posts: 214

  • Since: 2017/1/7 1


A little remade of the standard theme.
View:https://www.shmel.org/forums/
Take:ftp://home.shmel.org/home/xoops/xforum_theme_standart.rar

When switching view options (flat, etc.)
Fatal errorCall to undefined method xforumTree :: XoopsTree () in /http/modules/xforum/class/xforumtree.php on line 44

Who faced?
Xoops 2.5.8.1
X-Forum 5.85 Stable



128
aerograf
Re: Problems with Lexicon
  • 2017/4/28 18:57

  • aerograf

  • Quite a regular

  • Posts: 214

  • Since: 2017/1/7 1


Forgot to add, the main css file should be added:
Fieldset {
  
Margin0 0 1em 0;
  
Padding1em;
  
Border1px solid # 778;
  
Text-aligncenter;
  
Background-colortransparent;
}



129
aerograf
Re: Problems with Lexicon
  • 2017/4/28 7:30

  • aerograf

  • Quite a regular

  • Posts: 214

  • Since: 2017/1/7 1


Few updated and fixed.
https://github.com/aerograf/lexikon
Working example:https://www.shmel.org/lexikon/



130
aerograf
Re: Automatic image width (for mobile devices)
  • 2017/4/26 20:01

  • aerograf

  • Quite a regular

  • Posts: 214

  • Since: 2017/1/7 1


Quote:

Bleekk wrote:
This is how we add the class in images automatic on xoops.org
<script>
            $( 
document ).ready(function() {
                $(
"img").addClass("img-responsive");
                $( 
"form img" ).removeClass"img-responsive" );
                $(
".xoops-comment-text").each(function() {
                  $(
this).find("img").css"display""inline" );
                });
                $(
".page_bookmarks").each(function() {
                  $(
this).find("img").css"display""inline" );
                });
                $(
".page_icons").each(function() {
                  $(
this).find("img").css"display""inline" );
                });
            });
        </
script>

It must be changed to inline-block. Then it works more correctly.




TopTop
« 1 ... 10 11 12 (13) 14 15 16 ... 21 »



Login

Who's Online

239 user(s) are online (162 user(s) are browsing Support Forums)


Members: 0


Guests: 239


more...

Donat-O-Meter

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

Latest GitHub Commits