1
chefry
Publisher <title>
  • 2012/8/21 15:06

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


When looking at a file created by publisher, the name of the website appears in the browser tab.

Is there a mod that will show the file name in the tab?

In HTML it was the tags </div> <div style="position: relative; bottom:0px; right: 15px; padding-top: 15px; text-align: right; clear: both"> <a class="btn btn-success btn-xs" href="#top" title="Top"><i class="far fa-arrow-alt-circle-up"></i></a> </div> </div> <hr> </div> </div> <style> .kapla { background: #f6f7fb; padding: 10px; border-radius: 3px; border: 1px solid #e3ebf6; } </style> <style> #forum-more-info-348938{display: none} </style> <script> $( document ).ready(function() { $( "#forum-show-more-348938" ).click(function() { $( "#forum-more-info-348938" ).toggle("slow"); }); }); </script> <div class="post-body" style="background:#efefef;border-radius:4px;padding:7px;margin-top:15px;margin-bottom:10px;"> <div class="post-eren" style="background:#fff;margin:5px;padding:15px;box-shadow: 0 1px 2px #bbb"> <div class="post-text post-text-mob"> <span style="position: absolute; right: 45px;"> <a style="color: #666666; font-size: 12px" id="348938" href="https://xoops.org/modules/newbb/viewtopic.php?post_id=348938#348938"><i class="fas fa-hashtag"></i>2</a> </span> <br> <div class="kapla"> <div class="row"> <div class="col-md-12"> <div class="candidates-img float-left mr-4"> <img style="max-width: 72px;" src="https://xoops.org/uploads/avatars/cavt5007ad6178028.jpg" alt="irmtfan" class="img-circle img-responsive img-thumbnail"> </div> <div class="candidates-list-desc job-single-meta pt-2"> <h5 class="mb-2 f-19"><i class="fas fa-bars"></i> Re: Publisher <title></h5> <ul class="list-inline mb-0"> <li class="list-inline-item mr-4"> <p class="text-muted f-15 mb-0"><i class="far fa-calendar-alt"></i> 2012/8/22 5:11</p> </li> <li class="list-inline-item mr-4"> <p class="f-15 mb-0"><i class="fas fa-user"></i> <a href='https://xoops.org/userinfo.php?uid=15014'>irmtfan</a></p> </li> <li class="list-inline-item mr-4"> <p class="f-15 mb-0"><i class="fas fa-users-cog"></i> Module Developer</p> </li> <li class="list-inline-item mr-4"> <p class="f-15 mb-0"><i class="fas fa-comments"></i> Posts: <a href="https://xoops.org/modules/newbb/viewpost.php?uid=15014" title="All"> 3419 </a> </p> </li> <li class="list-inline-item mr-4"> <p class="text-muted f-15 mb-0"><i class="far fa-calendar-alt"></i> Since: 2003/12/7 </p> </li> </ul> </div> </div> </div> </div> <br> <div class="yazirenk"> in publisher now the title is like this in item.php:<br><br><title>item title - Publisher category - publisher module name - xoops site name

if you want to change this look in modules/publisher/item.php around line 186
/**
 * Generating meta information for this page
 */
$publisher_metagen = new PublisherMetagen($itemObj->getVar('title'), $itemObj->getVar('meta_keywords''n'), $itemObj->getVar('meta_description''n'), $itemObj->getCategoryPath());
$publisher_metagen->createMetaTags();


and try to include the

$item['files']
and
$item['embeded_files']

they are array because you can attach many files in one item and you should work to include one specific file or add all file names.



3
chefry
Re: Publisher <title>
  • 2012/8/22 6:05

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


Sorry, I guess I misspoke.

When I said file, I mean the item created in Publisher

4
irmtfan
Re: Publisher <title>
  • 2012/8/22 7:52

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


I still dont know what do you want to do?
this is the full title now
item title - Publisher category - publisher module name - xoops site name

if you want to have just item title in the header.
go to publisher/class/metagen.php
and change this function:
function setTitle($title) {
        
$this->_title $this->html2text($title);
        
$this->_original_title $this->_title;
return; 
// added by irmtfan to just return the title

        
$titleTag = array();

        
$titleTag['module'] = $this->publisher->getModule()->getVar('name');

        if (isset(
$this->_title) && ($this->_title != '') && (strtoupper($this->_title) != strtoupper($titleTag['module']))) {
            
$titleTag['title'] = $this->_title;
        }

        if (isset(
$this->_categoryPath) && ($this->_categoryPath != '')) {
            
$titleTag['category'] = $this->_categoryPath;
        }

        
$ret = isset($titleTag['title']) ? $titleTag['title'] : '';

        if (isset(
$titleTag['category']) && $titleTag['category'] != '') {
            if (
$ret != '') {
                
$ret .= ' - ';
            }
            
$ret .= $titleTag['category'];
        }

        if (isset(
$titleTag['module']) && $titleTag['module'] != '') {
            if (
$ret != '') {
                
$ret .= ' - ';
            }
            
$ret .= $titleTag['module'];
        }

        
$this->_title $ret;
    }

the above is just in 10 seconds so maybe not work. please test.

5
chefry
Re: Publisher <title>
  • 2012/8/22 7:57

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


when i look at an item in publisher, the only thing i see in the browser tab is the site name. nothing else

it would be nice to see the item name

6
irmtfan
Re: Publisher <title>
  • 2012/8/22 8:18

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


huum strange,
you should have this title in item.php
item title - Publisher category - publisher module name - xoops site name

example:
http://www.xuups.com/modules/publisher/item.php?itemid=28
please update to the latest version if you didnt.
http://xuups.googlecode.com/svn/trunk/modules/publisher

7
Mamba
Re: Publisher <title>
  • 2012/8/22 8:52

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


As always, we ask to search first, before asking questions

There is a good chance that the same or similar question has been asked before!

If you would search XOOPS Forums for "Publisher Title", you would find this thread, which I think, would address your issues.

And in the spirit of not just "giving a fish, but teaching how to fish", I also hope, that this will provide an educational value on how to find a variables that you're looking for....
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

8
irmtfan
Re: Publisher <title>
  • 2012/8/22 9:12

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


Thanks mamba for pointing out that topic. really helpful.

but it seems his issue is different because the publisher will not show item title which is a bug.
Anyway, this kind of header title is an example of hard-coding (or bad coding) in writing modules.
the true coding should make a hack very very easy.
To do it module developers should define one smarty variable for each php variable.
eg: for publisher we should have something like this in templates:
<{$item.title}>-<{$item.cat}> - <{$item.module}> - <{$item.site}>
then any webmaster can change it in templates without touching php codes.
maybe it can not be possible in until now in xoops 2.5.5 but the above is just an example of right and easy understandable coding in compare with hard-codes and complex codes.
And pay attention that publisher is an advance module so the old modules are full of hard-codes.
I wish module developers take more time in their projects to remove those hardcodes.


9
Mamba
Re: Publisher <title>
  • 2012/8/22 10:24

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


Quote:
but it seems his issue is different because the publisher will not show item title which is a bug.
he probably will need to update his module, as you suggested before, if I remember correctly. Quote:
To do it module developers should define one smarty variable for each php variable. eg: for publisher we should have something like this in templates: <{$item.title}>-<{$item.cat}> - <{$item.module}> - <{$item.site}> then any webmaster can change it in templates without touching php codes.
I think, the issue here was that
<{$xoops_pagetitle}>
was already hardcoded in each theme structure, so Publisher was just taking advantage of it. I am not sure if there is another way to populate the tabs, and how Publisher could access them. Quote:
I wish module developers take more time in their projects to remove those hardcodes.
I agree! And we need to get better in that, but that's what Open Source is all about, i.e. we can help, we can review, we can contribute changes, etc. I hope, our Quality Team, as well as our International Team, will play more and more important role in testing and reviewing modules, before they are approved/certified for release.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

10
irmtfan
Re: Publisher <title>
  • 2012/8/23 4:48

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


Your right Mamba about the hardcoded in the themes.<br>Anyway this hardcode problem (more than one php variable is defined for one smarty) is not limited to the themes. It is generally used in modules/core and make customization very hard especially for new webmasters.<br>IMO we need to define a theme creating standard for xoops too.<br>we need a separate topic for that and need to review all themes and discuss about that.<br><br>for example about this title issue it is hardcoded in the class/theme.php codes:<br><div class="xoopsCode"><code><span style="color: #000000"> <span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">template</span><span style="color: #007700">-></span><span style="color: #0000BB">assign</span><span style="color: #007700">(array( <br />            </span><span style="color: #DD0000">'xoops_theme' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$xoops</span><span style="color: #007700">-></span><span style="color: #0000BB">getConfig</span><span style="color: #007700">(</span><span style="color: #DD0000">'theme_set'</span><span style="color: #007700">), <br />            </span><span style="color: #DD0000">'xoops_imageurl' </span><span style="color: #007700">=> </span><span style="color: #0000BB">XOOPS_THEME_URL </span><span style="color: #007700">. </span><span style="color: #DD0000">'/' </span><span style="color: #007700">. </span><span style="color: #0000BB">$xoops</span><span style="color: #007700">-></span><span style="color: #0000BB">getConfig</span><span style="color: #007700">(</span><span style="color: #DD0000">'theme_set'</span><span style="color: #007700">) . </span><span style="color: #DD0000">'/'</span><span style="color: #007700">, <br />            </span><span style="color: #DD0000">'xoops_themecss' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$xoops</span><span style="color: #007700">-></span><span style="color: #0000BB">getCss</span><span style="color: #007700">(</span><span style="color: #0000BB">$xoops</span><span style="color: #007700">-></span><span style="color: #0000BB">getConfig</span><span style="color: #007700">(</span><span style="color: #DD0000">'theme_set'</span><span style="color: #007700">)), <br />            </span><span style="color: #DD0000">'xoops_requesturi' </span><span style="color: #007700">=> </span><span style="color: #0000BB">htmlspecialchars</span><span style="color: #007700">(</span><span style="color: #0000BB">$_SERVER</span><span style="color: #007700">[</span><span style="color: #DD0000">'REQUEST_URI'</span><span style="color: #007700">], </span><span style="color: #0000BB">ENT_QUOTES</span><span style="color: #007700">), <br />            </span><span style="color: #DD0000">'xoops_sitename' </span><span style="color: #007700">=> </span><span style="color: #0000BB">htmlspecialchars</span><span style="color: #007700">(</span><span style="color: #0000BB">$xoops</span><span style="color: #007700">-></span><span style="color: #0000BB">getConfig</span><span style="color: #007700">(</span><span style="color: #DD0000">'sitename'</span><span style="color: #007700">), </span><span style="color: #0000BB">ENT_QUOTES</span><span style="color: #007700">), <br />            </span><span style="color: #DD0000">'xoops_slogan' </span><span style="color: #007700">=> </span><span style="color: #0000BB">htmlspecialchars</span><span style="color: #007700">(</span><span style="color: #0000BB">$xoops</span><span style="color: #007700">-></span><span style="color: #0000BB">getConfig</span><span style="color: #007700">(</span><span style="color: #DD0000">'slogan'</span><span style="color: #007700">), </span><span style="color: #0000BB">ENT_QUOTES</span><span style="color: #007700">), <br />            </span><span style="color: #DD0000">'xoops_dirname' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$xoops</span><span style="color: #007700">-></span><span style="color: #0000BB">moduleDirname</span><span style="color: #007700">, <br />            </span><span style="color: #DD0000">'xoops_banner' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">renderBanner </span><span style="color: #007700">? </span><span style="color: #0000BB">$xoops</span><span style="color: #007700">-></span><span style="color: #0000BB">getBanner</span><span style="color: #007700">() : </span><span style="color: #DD0000">' '</span><span style="color: #007700">, <br />            </span><span style="color: #DD0000">'xoops_pagetitle' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$xoops</span><span style="color: #007700">-></span><span style="color: #0000BB">isModule</span><span style="color: #007700">() ? </span><span style="color: #0000BB">$xoops</span><span style="color: #007700">-></span><span style="color: #0000BB">module</span><span style="color: #007700">-></span><span style="color: #0000BB">getVar</span><span style="color: #007700">(</span><span style="color: #DD0000">'name'</span><span style="color: #007700">) : </span><span style="color: #0000BB">htmlspecialchars</span><span style="color: #007700">(</span><span style="color: #0000BB">$xoops</span><span style="color: #007700">-></span><span style="color: #0000BB">getConfig</span><span style="color: #007700">(</span><span style="color: #DD0000">'slogan'</span><span style="color: #007700">), </span><span style="color: #0000BB">ENT_QUOTES</span><span style="color: #007700">) <br />        )); <br />        </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">template</span><span style="color: #007700">-></span><span style="color: #0000BB">assign</span><span style="color: #007700">(array( <br />            </span><span style="color: #DD0000">'theme_path' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">path</span><span style="color: #007700">, <br />            </span><span style="color: #DD0000">'theme_tpl' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">path </span><span style="color: #007700">. </span><span style="color: #DD0000">'/xotpl'</span><span style="color: #007700">, <br />            </span><span style="color: #DD0000">'theme_url' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">url</span><span style="color: #007700">, <br />            </span><span style="color: #DD0000">'theme_img' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">url </span><span style="color: #007700">. </span><span style="color: #DD0000">'/img'</span><span style="color: #007700">, <br />            </span><span style="color: #DD0000">'theme_icons' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">url </span><span style="color: #007700">. </span><span style="color: #DD0000">'/icons'</span><span style="color: #007700">, <br />            </span><span style="color: #DD0000">'theme_css' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">url </span><span style="color: #007700">. </span><span style="color: #DD0000">'/css'</span><span style="color: #007700">, <br />            </span><span style="color: #DD0000">'theme_js' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">url </span><span style="color: #007700">. </span><span style="color: #DD0000">'/js'</span><span style="color: #007700">, <br />            </span><span style="color: #DD0000">'theme_lang' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">url </span><span style="color: #007700">. </span><span style="color: #DD0000">'/language'</span><span style="color: #007700">, <br />        ));</span><span style="color: #0000BB"></span> </span> </code></div><br>As you can see we have xoops_slogan smarti variable but again it is used in xoops_pagetitle variable. It is bad coding.<br><br>We already have xoops_slogan and xoops_sitename smarties.<br>we should define a xoops_modulename smarty that back the module name or empty string if the module is not exist:<br><div class="xoopsCode"><code><span style="color: #000000"> <span style="color: #0000BB"></span><span style="color: #DD0000">'xoops_modulename' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$xoops</span><span style="color: #007700">-></span><span style="color: #0000BB">isModule</span><span style="color: #007700">() ? </span><span style="color: #0000BB">$xoops</span><span style="color: #007700">-></span><span style="color: #0000BB">module</span><span style="color: #007700">-></span><span style="color: #0000BB">getVar</span><span style="color: #007700">(</span><span style="color: #DD0000">'name'</span><span style="color: #007700">) : </span><span style="color: #DD0000">''</span><span style="color: #007700">;</span><span style="color: #0000BB"></span> </span> </code></div><br><br>then xoops_array_pagetitle should be an array defined in class/theme.php like this:<br>$xoops_array_pagetitle = array();<br>....<br><br>'xoops_array_pagetitle' => $xoops_array_pagetitle,<br><br>and can be defined for each module separately (can be fully customized eg: page title - page subtitle - cat title - sub cat title - sub sub cat title) <br>for example for publisher module like this:<br>$xoops_array_pagetitle['item_title'] = ...<br>$xoops_array_pagetitle['item_subtitle'] = ...<br><br>or for newbb like this:<br><br>$xoops_array_pagetitle['post_title'] = ....<br>$xoops_array_pagetitle['topic_title'] = ....<br>$xoops_array_pagetitle['cat_title'] = ....<br>$xoops_array_pagetitle['forum_title'] = ... (sub forums and others included)<br><br>then all modules can use the unify below code to assign xoops_array_pagetitle like this:<br>$xoopsTpl->assign('xoops_array_pagetitle',$xoops_array_pagetitle);<br><br> then can be used in all themes like this:<br><div class="xoopsCode"><code><span style="color: #000000"> <span style="color: #0000BB"></span><span style="color: #007700"><</span><span style="color: #0000BB">title</span><span style="color: #007700">> <br /><{if </span><span style="color: #0000BB">$xoops_array_pagetitle</span><span style="color: #007700">}> <br /><{</span><span style="color: #0000BB">foreachq item</span><span style="color: #007700">=</span><span style="color: #0000BB">xo_title from</span><span style="color: #007700">=</span><span style="color: #0000BB">$xoops_array_pagetitle</span><span style="color: #007700">}> <br /><{</span><span style="color: #0000BB">$xo_title</span><span style="color: #007700">}> : <br /><{/foreach}> <br /><{/if}> <br /><!--  </span><span style="color: #0000BB">irmtfan </span><span style="color: #007700">for </span><span style="color: #0000BB">backward compatibility </span><span style="color: #007700">--> <br /><{if </span><span style="color: #0000BB">$xoops_pagetitle </span><span style="color: #007700">!=</span><span style="color: #DD0000">''</span><span style="color: #007700">}> <{</span><span style="color: #0000BB">$xoops_pagetitle</span><span style="color: #007700">}> : <{/if}> <br /><{</span><span style="color: #0000BB">$xoops_modulename</span><span style="color: #007700">}> : <{</span><span style="color: #0000BB">$xoops_slogan</span><span style="color: #007700">}> : <{</span><span style="color: #0000BB">$xoops_sitename</span><span style="color: #007700">}> </</span><span style="color: #0000BB">title</span><span style="color: #007700">></span><span style="color: #0000BB"></span> </span> </code></div><br><br>The above is the final solution for full customization of title in the head without hardcoding.<br>i can implement the above by modifying class/theme.php and show the use in theme.html or other html like xometas.html </div> <div style="position: relative; bottom:0px; right: 15px; padding-top: 15px; text-align: right; clear: both"> <a class="btn btn-success btn-xs" href="#top" title="Top"><i class="far fa-arrow-alt-circle-up"></i></a> </div> </div> <hr> </div> </div> <style> .kapla { background: #f6f7fb; padding: 10px; border-radius: 3px; border: 1px solid #e3ebf6; } </style> <div class="newbb-viewtopic-footer"> <div class="row mb10"> <div class="col-sm-6 col-md-6 hidden-xs"> <a href="https://xoops.org/modules/newbb/reply.php?topic_id=75459" title="Reply" class="btn btn-sm btn-primary">Reply</a> <a href="https://xoops.org/user.php" title="Register" class="btn btn-sm btn-success">Register</a> <a href="https://xoops.org/modules/newbb/polls.php?op=add&topic_id=75459" title="Add Poll" class="btn btn-sm btn-info">Add Poll</a> </div> </div> <div class="text-right generic-pagination"> <div > <strong class="xo-pagact" >(1)</strong> <a class="xo-counterpage" href="/modules/newbb/viewtopic.php?start=10&topic_id=75459&order=ASC&status=&mode=0">2</a> <a class="xo-pagarrow" href="/modules/newbb/viewtopic.php?start=10&topic_id=75459&order=ASC&status=&mode=0"><u>»</u></a> </div> </div> </div> <!-- .newbb-viewtopic-footer --> </div> <!-- .newbb-viewforum --> <!-- End content module --> </div> </div> <div class="col-xl-3 col-lg-12 col-md-12"> <!-- Start right blocks loop --> <div class="card"> <div class="card-header"> <h3 class="card-title">Login</h3> </div> <div class="card-body p-0"> <div class="card-body pt-3 pb-3"> <div class="panel panel-default"> <form action="https://xoops.org/user.php" method="post" role="form"> <div class="panel-body"> <form class="form-horizontal" role="form"> <div class="form-group"> <label for="inputEmail3" class="col-sm-12 control-label"> Username</label> <div class="col-sm-9"> <input class="form-control login-block-form" style="margin-bottom: 5px;" type="text" name="uname" placeholder="Your Username"> </div> </div> <div class="form-group"> <label for="inputPassword3" class="col-sm-12 control-label"> Password</label> <div class="col-sm-9"> <input class="form-control login-block-form" type="password" name="pass" placeholder="Your Password"> </div> </div> <div class="form-group"> <div class="col-sm-offset-3 col-sm-9"> <div class="checkbox"> <label> <input type="checkbox" name="rememberme" value="On" class="formButton"> Remember me </label> </div> </div> </div> <input type="hidden" name="xoops_redirect" value="/modules/newbb/viewtopic.php?post_id=348948"> <input type="hidden" name="op" value="login"> <div class="form-group last"> <div class="col-sm-offset-3 col-sm-9"> <input type="submit" class="btn btn-success btn-sm" value="User Login"> <button type="reset" class="btn btn-default btn-sm"> Reset </button> </div> </div> </form> </div> </form> <div class="panel-footer" style="text-align: center"> <a href="https://xoops.org/register.php" title="Register now!">Register now!</a>  |  <a href="https://xoops.org/user.php#lost" title="Lost Password?">Lost Password?</a> </div> </div> </div> </div> </div> <div class="card"> <div class="card-header"> <h3 class="card-title">Search</h3> </div> <div class="card-body p-0"> <div class="card-body pt-3 pb-3"> <form role="search" action="https://xoops.org/search.php" method="get"> <div class="input-group"> <input class="form-control" type="text" name="query" placeholder="Search here..."> <input type="hidden" name="action" value="results"> <span class="input-group-btn"> <button class="btn btn-primary" type="submit"> <span class="fas fa-search"></span> </button> </span> </div> </form> <p class="text-right"> <a href="https://xoops.org/search.php" title="Advanced Search"> Advanced Search </a> </p> </div> </div> </div> <div class="card"> <div class="card-header"> <h3 class="card-title">Recent Posts</h3> </div> <div class="card-body p-0"> <div class="job-box"> <div class="inbox-message"> <ul> <li> <div class="message-body1"> <div class="message-body-heading1"> <h5><a href="https://xoops.org/modules/newbb/viewtopic.php?post_id=367252#forumpost367252"><i class="fas fa-angle-right"></i> PHP 8.4.0 Alpha 1 released</a></h5> </div> <div class="olc"><i class="far fa-calendar-alt"></i> 7/10 6:19 <i class="fas fa-user"></i> <a href="https://xoops.org/userinfo.php?uid=19563" title="Mamba">Mamba</a> </div> </div> </li> <li> <div class="message-body1"> <div class="message-body-heading1"> <h5><a href="https://xoops.org/modules/newbb/viewtopic.php?post_id=367251#forumpost367251"><i class="fas fa-angle-right"></i> Overview of the Composer packages in Admin</a></h5> </div> <div class="olc"><i class="far fa-calendar-alt"></i> 7/10 6:15 <i class="fas fa-user"></i> <a href="https://xoops.org/userinfo.php?uid=19563" title="Mamba">Mamba</a> </div> </div> </li> <li> <div class="message-body1"> <div class="message-body-heading1"> <h5><a href="https://xoops.org/modules/newbb/viewtopic.php?post_id=367243#forumpost367243"><i class="fas fa-angle-right"></i> Re: xoops_getBaseDomain</a></h5> </div> <div class="olc"><i class="far fa-calendar-alt"></i> 6/29 6:13 <i class="fas fa-user"></i> <a href="https://xoops.org/userinfo.php?uid=19563" title="Mamba">Mamba</a> </div> </div> </li> <li> <div class="message-body1"> <div class="message-body-heading1"> <h5><a href="https://xoops.org/modules/newbb/viewtopic.php?post_id=367242#forumpost367242"><i class="fas fa-angle-right"></i> xoops_getBaseDomain</a></h5> </div> <div class="olc"><i class="far fa-calendar-alt"></i> 6/27 22:55 <i class="fas fa-user"></i> <a href="https://xoops.org/userinfo.php?uid=74855" title="mbu10">mbu10</a> </div> </div> </li> <li> <div class="message-body1"> <div class="message-body-heading1"> <h5><a href="https://xoops.org/modules/newbb/viewtopic.php?post_id=367240#forumpost367240"><i class="fas fa-angle-right"></i> Re: Test 3</a></h5> </div> <div class="olc"><i class="far fa-calendar-alt"></i> 6/10 1:12 <i class="fas fa-user"></i> <a href="https://xoops.org/userinfo.php?uid=72918" title="bushir">bushir</a> </div> </div> </li> <li> <div class="message-body1"> <div class="message-body-heading1"> <h5><a href="https://xoops.org/modules/newbb/viewtopic.php?post_id=367239#forumpost367239"><i class="fas fa-angle-right"></i> Test 3</a></h5> </div> <div class="olc"><i class="far fa-calendar-alt"></i> 6/10 1:08 <i class="fas fa-user"></i> <a href="https://xoops.org/userinfo.php?uid=72918" title="bushir">bushir</a> </div> </div> </li> <li> <div class="message-body1"> <div class="message-body-heading1"> <h5><a href="https://xoops.org/modules/newbb/viewtopic.php?post_id=367238#forumpost367238"><i class="fas fa-angle-right"></i> Re: Test2</a></h5> </div> <div class="olc"><i class="far fa-calendar-alt"></i> 6/9 21:56 <i class="fas fa-user"></i> <a href="https://xoops.org/userinfo.php?uid=72918" title="bushir">bushir</a> </div> </div> </li> <li> <div class="message-body1"> <div class="message-body-heading1"> <h5><a href="https://xoops.org/modules/newbb/viewtopic.php?post_id=367237#forumpost367237"><i class="fas fa-angle-right"></i> Re: Test2</a></h5> </div> <div class="olc"><i class="far fa-calendar-alt"></i> 6/9 21:29 <i class="fas fa-user"></i> <a href="https://xoops.org/userinfo.php?uid=72918" title="bushir">bushir</a> </div> </div> </li> <li> <div class="message-body1"> <div class="message-body-heading1"> <h5><a href="https://xoops.org/modules/newbb/viewtopic.php?post_id=367236#forumpost367236"><i class="fas fa-angle-right"></i> Re: Test2</a></h5> </div> <div class="olc"><i class="far fa-calendar-alt"></i> 6/9 21:25 <i class="fas fa-user"></i> <a href="https://xoops.org/userinfo.php?uid=19563" title="Mamba">Mamba</a> </div> </div> </li> <li> <div class="message-body1"> <div class="message-body-heading1"> <h5><a href="https://xoops.org/modules/newbb/viewtopic.php?post_id=367235#forumpost367235"><i class="fas fa-angle-right"></i> Test2</a></h5> </div> <div class="olc"><i class="far fa-calendar-alt"></i> 6/9 19:34 <i class="fas fa-user"></i> <a href="https://xoops.org/userinfo.php?uid=19563" title="Mamba">Mamba</a> </div> </div> </li> </ul> </div> </div> </div> </div> <div class="card"> <div class="card-header"> <h3 class="card-title">Who's Online</h3> </div> <div class="card-body p-0"> <div class="card-body pt-3 pb-3"> <p><strong>891</strong> user(s) are online (<strong>69</strong> user(s) are browsing <strong>Support Forums</strong>)</p> <hr> <p><i class="fas fa-user-plus"></i> Members: 0</p> <hr> <p><i class="fas fa-street-view"></i> Guests: 891</p> <hr> <p><i class="fas fa-users"></i> </p> <a class="btn btn-sm btn-info" href="javascript:openWithSelfMain('https://xoops.org/misc.php?action=showpopups&type=online','Online',420,350);" title="more...">more...</a> </div> </div> </div> <div class="card"> <div class="card-header"> <h3 class="card-title">Donat-O-Meter</h3> </div> <div class="card-body p-0"> <table class="table table-bordered"> <tr> <td style="width: 100%; font-weight: bold; text-decoration: underline;" colspan="2">Stats</td> </tr> <tr> <td>Goal:</td> <td>$100.00</td> </tr> <tr> <td>Due Date:</td> <td>Jul 31</td> </tr> <tr> <td>Gross Amount:</td> <td>$0.00</td> </tr> <tr> <td>Net Balance:</td> <td>$0.00</td> </tr> <tr> <td style="font-weight: bold;">Left to go:</td> <td style="font-weight: bold;"><span style="color: #CC0000;">$100.00</span></td> </tr> <tr> <td style="width: 100%; text-align: center;" colspan="2"><a href="https://xoops.org/modules/xdonations/index.php"> <img src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif" style="border-width; 0px;" alt="Make donations with PayPal!" width=110 height=23 /> </a></td> </tr> </table> </div> </div> <div class="card"> <div class="card-header"> <h3 class="card-title">Latest GitHub Commits</h3> </div> <div class="card-body p-0"> <div id="demo"> <div class="job-box"> <div class="inbox-message"> <ul> <li v-for="record in commits"> <div class="message-body1"> <div class="message-body-heading1"> <h5><a><i class="fas fa-angle-right"></i></a> <a :href="record.html_url" target="_blank" class="commit">{{ record.sha.slice(0, 7) }} - <span class="message">{{ record.commit.message | truncate }}</span></a></h5> </div> <div class="olc"><i class="fas fa-user"></i> <a :href="record.author.html_url" target="_blank">{{ record.commit.author.name }}</a> <i class="fas fa-folder-open"></i> {{ record.commit.author.date | formatDate }}</div> </div> </li> </ul> </div> </div> </div> <script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.2.4/vue.min.js"></script> <script> var apiURL = 'https://api.github.com/repos/XOOPS/XoopsCore25/commits?per_page=3&sha=' /** * Actual demo */ var demo = new Vue({ el: '#demo', data: { branches: ['master'], currentBranch: 'master', commits: null }, created: function () { this.fetchData() }, watch: { currentBranch: 'fetchData' }, filters: { truncate: function (v) { var newline = v.indexOf('n') return newline > 0 ? v.slice(0, newline) : v }, formatDate: function (v) { return v.replace(/T|Z/g, ' ') } }, methods: { fetchData: function () { var xhr = new XMLHttpRequest() var self = this xhr.open('GET', apiURL + self.currentBranch) xhr.onload = function () { self.commits = JSON.parse(xhr.responseText) console.log(self.commits[0].html_url) } xhr.send() } } }) </script> </div> </div> <!-- End right blocks loop --> </div> </div> </div> </section> <!--Section--> <!--Footer Section--> <footer class="footer"> <div class="container bottom_border"> <div class="row"> <div class=" col-sm-4 col-md col-6 col"> <h5 class="headin5_amrc col_white_amrc pt2">About us</h5> <!--headin5_amrc--> <ul class="footer_ul_amrc"> <li><a href="https://xoops.org/modules/wfchannel/">About Xoops</a></li> <li><a href="https://xoops.org/modules/wfchannel/index.php?cid=24">Why XOOPS?</a></li> <li><a href="https://xoops.org/modules/wfchannel/index.php?cid=21">Board of Advisors</a></li> <li><a href="https://xoops.org/modules/wgtimelines/index.php?op=list&tl_id=1">Xoops Innovators</a></li> <li><a href="https://xoops.org/modules/wgtimelines/index.php?op=list&tl_id=2">XOOPSers</a></li> <li><a href="https://xoops.org/modules/wfchannel/index.php?cid=6">XOOPS Etiquette</a></li> </ul> <!--footer_ul_amrc ends here--> </div> <div class=" col-sm-4 col-md col-6 col"> <h5 class="headin5_amrc col_white_amrc pt2">Learn</h5> <!--headin5_amrc--> <ul class="footer_ul_amrc"> <li><a href="https://xoops.org/modules/news/article.php?storyid=4534">Books</a></li> <li><a href="https://xoops.org/modules/smartfaq/">FAQ</a></li> <li><a href="https://www.gitbook.com/@xoops/">Core Guides</a></li> <li><a href="https://www.gitbook.com/@xoops/">Module Guides</a></li> </ul> <!--footer_ul_amrc ends here--> </div> <div class=" col-sm-4 col-md col-6 col"> <h5 class="headin5_amrc col_white_amrc pt2">Use</h5> <!--headin5_amrc--> <ul class="footer_ul_amrc"> <li><a href="https://github.com/XOOPS/XoopsCore25/releases">Download Xoops</a></li> <li><a href="https://github.com/XoopsModules25x">Module @ GitHub</a></li> <li><a href="https://github.com/Xoopsthemes">Themes@ GitHub</a></li> <li><a href="https://github.com/XoopsLanguages">Languages @ GitHub</a></li> <li><a href="https://xoops.org/modules/newbb/">Support Forums</a></li> <li><a href="https://xoops.org/modules/xoopspartners/">International Support</a></li> </ul> <!--footer_ul_amrc ends here--> </div> <div class=" col-sm-4 col-md col-6 col"> <h5 class="headin5_amrc col_white_amrc pt2">Develop GitHub</h5> <!--headin5_amrc--> <ul class="footer_ul_amrc"> <li><a href="https://github.com/XOOPS">Core @ GitHub</a></li> <li><a href="https://github.com/XoopsModules25x">Module @ GitHub</a></li> <li><a href="https://github.com/Xoopsthemes">Themes@ GitHub</a></li> <li><a href="https://github.com/XoopsLanguages">Languages @ GitHub</a></li> <li><a href="https://sourceforge.net/projects/xoops/">Legacy XOOPS @ SourceForge </a></li> <li><a href="https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md">Coding Standards PSR-2</a></li> </ul> <!--footer_ul_amrc ends here--> </div> <div class=" col-sm-4 col-md col-6 col"> <h5 class="headin5_amrc col_white_amrc pt2">Contribute</h5> <!--headin5_amrc--> <ul class="footer_ul_amrc"> <li><a href="https://xoops.org/modules/xdonations/">$$$ Donations</a></li> <li><a href="https://github.com/orgs/XOOPS/people">Join Team</a></li> <li><a href="https://github.com/XOOPS">Core @ GitHub</a></li> <li><a href="https://github.com/XoopsModules25x">Module @ GitHub</a></li> <li><a href="https://github.com/Xoopsthemes">Themes@ GitHub</a></li> <li><a href="https://github.com/XoopsLanguages">Languages @ GitHub</a></li> <li><a href="https://github.com/XOOPS/XoopsCore25/issues">Report Core Bug</a></li> </ul> <!--footer_ul_amrc ends here--> </div> <div class=" col-sm-4 col-md col-6 col"> <h5 class="headin5_amrc col_white_amrc pt2">Connect</h5> <!--headin5_amrc--> <ul class="footer_ul_amrc"> <li><a href="https://www.facebook.com/groups/xoops/">Facebook</a></li> <li><a href="http://www.linkedin.com/groups?gid=43552">LinkedIn</a></li> <li><a href="http://www.flickr.com/photos/tags/xoops/">Flickr</a></li> <li><a href="https://www.youtube.com/results?search_query=xoops">YouTube</a></li> <li><a href="https://www.openhub.net/p/xoops">Ohloh</a></li> <li><a href="https://twitter.com/xoopsgithub">Twitter</a></li> </ul> <!--footer_ul_amrc ends here--> </div> </div> </div> <div class="container"> <!--foote_bottom_ul_amrc ends here--> <br> <p class="text-center"><a rel="nofollow" href="https://xoops.org/modules/wfchannel/index.php?pagenum=3">Terms of Use</a> | <a rel="nofollow" href="https://xoops.org/modules/wfchannel/index.php?pagenum=4">Privacy Policy</a> | Hosted by <a rel="nofollow" href="http://www.arvixe.com/xoops_hosting?utm_campaign=xoops&utm_medium=banner&utm_source=xoops.org" title="Hosted by Arvixe">Arvixe Hosting</a> | <a rel="nofollow" href="https://xoops.org/backend.php" title="RSS2 Feed"><img src="https://xoops.org/uploads/rss.gif" alt="RSS 2.0 Button" /></a> <script type="module"> jQuery(document).ready(function () { jQuery("ul.sf-menu").superfish(); pathClass: "current" }); </script></p> </div> <center><a href="https://erenyumak.com/" target="_blank">Design: B.Heyula</a></center> </footer> <a href="#top" id="back-to-top" style="display: inline;"><i class="fa fa-long-arrow-up"></i></a> <!--Footer Section--> <!-- JS --> <script src="https://xoops.org/themes/xoops2020/js/jquery-3.5.1.min.js"></script> <script src="https://xoops.org/themes/xoops2020/js/bootstrap.min.js"></script> <script src="https://xoops.org/themes/xoops2020/js/bootstrap.bundle.min.js"></script> <script src="https://xoops.org/themes/xoops2020/js/newapplication.js" defer></script> <!-- JS --> </body> </html>