RSS feed

Page timer & MySQL counter for Xoops 2.2.x

Thanks to Mith for revising the code here, and I've also just updated the page timer & MySQL counter smarty plugin so that it works with the new Xoops 2.2.x branch. This plugin allows you to place a single smarty tag in your theme which when executed by the server is replaced with the time taken by the server to generate the page, as well as giving you a total of all MySQL database queries used. If you are installing from new, please just follow the 5 simple installation steps on the next page of this article (also detailed in install.txt file in the download). If you're upgrading from the Xoops 2.0.x version of this plugin, all you should have to do is overwrite the insert.showstat.php specified in installation step 1, and then also add the <{insert name='showstat'}> tag to your themeadmin.html as the administration side of Xoops is also now themeable as of Xoops 2.2. You can download the Page timer & MySQL counter for Xoops 2.2.x IT Headquarters
Read more... | 2098 bytes more | Comments?

save password for multiple accounts

This hack saves your multi-account passwords on your computer by cookies.

For XOOPS 2.011

some features:
1 password is saved with md5 and will not be displayed on pages so there is no security concern when the page is cached.
2 multi-account applicable and you can choose an account to use from a select box
3 to remove an account from save list, just login leaving "save password" checkbox blank
4 auto switch between normal input box for typing username and select blox for multi-accounts


DEMO:https://xoops.org.cn
Download:https://xoops.org.cn/modules/wfdownloads/singlefile.php?cid=9&lid=301
Read more... | 1 comment

Photo + Profiles Hack V2 for 2.0.13.2

This is an update from my previous hack. there isn't much difference than before in looks or usage except for now the users can enter their date of birth on registration (it is set to be *required*) and on user profile page, instead of showing date of birth it displays the users age.

exisiting members from before the hack was installed, will not have a date of birth, so the next time they visit their profile page, they will have the option of setting it :) after setting their date of birth, the option to edit the dob is removed, essentially, once it's set it can only be changed by admin.

a few new form classes were created with this hack, that may benefit other developers too..

regards

M0nty
-----------------------------------------------

Read more... | 5959 bytes more | 68 comments

Profile Photo Hack

This hack adds photo upload ability to Xoops 2 User Profile

you can download the hack HERE

see Demo HERE

to test the upload > username = demouser - password = demouser2005

It utilises the same function as the Avatar section but they are both seperate. This means that the photo settings can be customised in exactly the same way as the Avatars are, an extra menu has been added to the system menu in admin which
works exactly the same as the avatar manager.

Read more... | 2769 bytes more | 20 comments

http://xoopsfactory.de :: xf_newsmod_blocks V1.5

... for those, who had fun with the additional newsblocks ... here is an update, i added some blocks so now there are 6 blocks for different categories of news to display. It works fine with news version 1.1 but should work with 1.3 (but there we have some additional blocks though).

note:
This is a "module" from a theme dabbler and perhaps not the way a coder will do to get similar result. If in doubt, please try on a test page first.

grab it here: http://xoopsfactory.de/modules/AMS/
and have fun with it.

michael
http://xoopsfactory.de

3 comments

Adminarea Revisited beta2 released

Hi xoopsers,
after a long delay the beta2 version of Adminarea Revisited hack is out.
This hack aims to give a new and fresh look to the backend without editing the core files.
Read more... | 1906 bytes more | 43 comments

Reynaldo's ShortURLs UPDATED

sim_suin has just released Simplified URLs which is great if you are trying ShortURLs for the first time. But if you have been using the Reynaldo's ShortURLs for a while, it would be just not feasible for the switch without creating a huge mess with search engines.

One of the issues using Reynaldo's ShortURLs is that it systematically converts all URLs including admin URLs. This proves to be problematic and you end up with many white pages in modules admin due to inconsistent coding.

The UPDATED hack utilizes (or borrows ) sim_suin's idea, will exclude module admin and system admin. No more modifying the module admin files in order to get it work. Enjoy!

The file can be downloaded from HERE

Cheers,
tl
Xoops Tips | TechFinance | TFmedia
9 comments

Simplified URLs Hack

This hack Simplified URLs ,which is based on ShotURLs released by reynaldo, converts Xoops URLs into shorter and static ones that can be indexed by search engines.

Quote:

Quote reynaldo's words;
I've found other hacks that do the same but I didn't like the way the worked because I haven't had good results with urls within deep directorys like:
http://www.domain.com/modules/news/article/1/arg1/arg2
In my experience, some Search Engines (Google for example) didn't like to crawl pages so "deep" within the site.

For this reason, this hack gives you shallow URLs. For example ;

[Default]http://xoops_site/modules/news/article.php?storyid=1
[Converted]http://xoops_site/news+article.storyid+1.htm

[Default]http://xoops_site/modules/userinfo.php?uid=1
[Converted]http://xoops_site/userinfo.uid+1.html

I checked this hack in Xoops2.0.9.X and 2.0.6.
This probably runs in the other versions.
I also checked more than 30 modules so I think it is available for most of the modules. Yet errors must exist in this hack. When you find some bugs or errors, please let me know.

Finally I'm sorry for my poor English and I appreciate reynaldo who developed ShortURLs.

You can download HERE >>> Simplified URLs 1.1

How to Install
1) Modify your loadpages.php.
Set your start module's dir name at line 33.
If you don't set a start module, please set it blank like: $start_module = "";
Set the position of "loadpages.php" at line 38.

2) Upload this two files to your Xoops root dir:
- loadpages.php
- simplified_url.php

3) Modify your .htaccess file, the one you have in your Xoops root dir (if any)
and add the contents of the included .htaccess file. If you don't have one, just upload the one I provided.

4) In the Xoops root dir, there is a file named mainfile.php
Open it and add the following line just after the disclaimer (line 41 for
Xoops 2.09):
include "simplified_url.php";

It must be put under "XOOPS_URL"
ex :
39:define('XOOPS_URL''http://localhost/');
40:
41:include "simplified_url.php";
42:
43:define('XOOPS_CHECK_PATH'0);

5) Save mainfile.php and upload it to your server.

Support Forum is HERE
https://xoops.org/modules/newbb/viewtopic.php?topic_id=30205&forum=14&post_id=131943
18 comments

GetXoops v1.1

Latest version 1.1 (01/01/2005)

GetXoops is an engine enable you to get Xoops CMS fast as possible and easy setup.

- No need to download Xoops CMS
- No need to upload 10mb to your server (extracted)

- Download GetXoops zip file (44kb) only
- Upload it for only 250kb and less (extracted)
- Fast & Save your time
- Easy setup GetXoops
- Only a few seconds and Xoops CMS will be in your server
- Secured & password protected GetXoops
- GetXoops also allowed you to reinstall Xoops in a few seconds

----------

GetXoops
English version
DOWNLOAD - version 1.1 for Xoops 2.0.9.2
7 comments

Page timer & MySQL counter

Got a little distracted this week and as a little side project I have created a smarty insert plugin that displays the page execution time, and MySQL queries generated to render each page. The advantage of using the insert method is that the insert function code is always executed each time it is invoked, and isn't cached in the template along with all the other output data. This meaning that the page timer and MySQL counter figures are always going to be current and relevant to the page being displayed, regardless of if block and/or module cache is active.
Read more... | 2198 bytes more | 20 comments


Login

Who's Online

194 user(s) are online (12 user(s) are browsing XOOPS News)


Members: 0


Guests: 194


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

Archives

News archives