Register  It's Free! Thursday,   July  3,   2008
User Name Password
  Downloads   Modules

Login
Username:

Password:


Lost Password?

Register now!
Main Menu
Who's Online
8 user(s) are online (1 user(s) are browsing News)

Members: 0
Guests: 8

more...

Documentation : Classifieds 1.1 Features and use
Posted by john on 2008/1/14 6:20:00 (753 reads)

Classifieds Features and Use

Version 1.1 RC1

Fix for reported security vulnerability
Added description for the categories.
Fix for reported bug.

Features.

Read More... | 7924 bytes more | Comments?
Modules : To add numbers to the mx-directory view alpha
Posted by john on 2005/9/29 13:50:00 (1108 reads)

To add numbers to the view alpha
__________________________________________________________________


Add after Alpha sort in include/functions.php

//Numerical Sort

function numbers()
{
global $xoopsModule;
$numberchoice = "";
$numbers = array ("1", "2", "3","4", "5", "6","7", "8", "9", "0");
while (list(, $numb) = each($numbers))
{
$numbchoice .= "<a href='viewalpha.php?list=$numb' style='font-size: 8px;'>$numb</a>";
$numbchoice .= "&nbsp;|&nbsp;";
}
return $numbchoice;
}

____________________________________________________________

then in index.php and viewalpha.php - before or after

$letters = letters();
$xoopsTpl->assign('letters', $letters);

ADD

$numbers = numbers();
$xoopsTpl->assign('numbers', $numbers);

____________________________________________________________

Then in xdir_index.html and xdir_viewalpha.html it should look like this

<{if $usealpha != "0"}> <{$letters}> <br /> <{$numbers}>

____________________________________________________________

That should do it, any problems let me know

John

Comments?
Jobs : Jobs 1.9
Posted by john on 2005/8/12 12:50:00 (1112 reads)

Jobs 1.9 is now stable. All the changes from the last version 1.84 are:

1. Added Group Permissions.
2. Removed config.php file.
3. You can now choose the Koivi Editor or not.
4. Fixed all errors that were reported during beta stage.
5. included the files for the Koivi Editor in the download.

Next Version will be 1.95 beta, It will have some way of doing resume's. Next version is still a while to come, at least one month, depends on my free time.

Hope you all enjoy.

John

Comments?
Jobs : Jobs 1.8
Posted by john on 2005/3/22 16:00:00 (1162 reads)

***** Edited *****


Found problems with the 1.6 version, problems were in the uploader, and a few typo's, also changed all $HTTP_POST_VARS to _POST , all $HTTP_GET_VARS to _GET , AND $HTTP_POST_FILES TO _FILES , plus a couple more, I think I have them all. If anyone is using PHP5 I would like to know if this module works for you. Thanks.
-----------------------------------------------------------------------------------------------------

This is basically just to fix the category issue with jobs 1.04. It also has a search, and I removed the cache folder to make the config like the xoops 2.0.x style. BACK UP YOUR DATABASE BEFORE UPGRADING THIS OR ANY OTHER XOOPS MODULE. There are no changes to the database, so just delete your old files, upload new files and update the module in the system module admin. That should be it.

Thanks,
John

Comments?
Modules : Fix for xdirectory and alumni search needing mid
Posted by john on 2005/2/25 14:50:00 (1246 reads)

I figured out how to not have to add the mid manually for xdirectory, and alumni modules. Always back up your site before making any changes.

Xdirectory,
In the file xdirectory/index.php

look for this line

$xoopsTpl->assign('lang_url', _MD_SITEURL);

after it add this line

$xoopsTpl->assign('xmid', $xoopsModule->getVar('mid'));

Then in the file xdirectory/templates/xdir_index.html replace the actual number of the module with <{$xmid}> so it looks like below.

value='<{$xmid}>' />

then update module and your done.
_________________________________________________

Alumni Module

Just a little different, go to alumni/index.php look for function index() add this line

$xoopsTpl->assign('xmid', $xoopsModule->getVar('mid'));

before this line

$xoopsTpl->assign('add_from', _ALUM_ADDFROM." ".$xoopsConfig['sitename']);

go to alumni/templates/alumni_index.html

replace the actual number of the module with <{$xmid}> so it looks like below.

value='<{$xmid}>' />

now with this module you need to add $xoopsModule, to the global like below

global $xoopsDB, $xoopsConfig, $xoopsModule, $xoopsUser, $xoopsTpl, $moderated, $myts, $mytree, $souscat, $classm, $nbsouscat, $meta, $newann, $mid;

Update the module, Thats it, This works for me, Hope you find it useful.

John

Comments?
Donat-O-Meter
Make donations with PayPal!

Donations
Waiting Contents Ext
System Alumni Downloads Forum Job Listings Garages classifieds ads jlmclass SmartFAQ
Weather
Southington
Conditions as of
42 minutes ago


mostly cloudy
Temp: 70 °F ↓
Rel hum: 83 % ↑
Wind decreasing
S at 4.6 mph
view forecast