71
AAINC
Re: pnFlashGames module
  • 2003/12/13 8:48

  • AAINC

  • Not too shy to talk

  • Posts: 121

  • Since: 2003/10/18


Hey my server has been down for almost 72 hours.

I am assuming I have lost all data and the updated mods that I was working on. I have not had email since this happened nor a webpage............

If anyone out there has copies of

MyHoroscope
ErrorDocs
ArchSilver Theme

Please submit them here at Xoops.org.

Those are the basic versions and I had them all updated to a newer version.

ArchSilver Theme had complete Templates, all refresh screens, admin...etc...
MyHoroscope had plus birthdays and history/pro/cons for each sign.
ErrorDocs was small update.

Oh yeah hotlinking

Bandwidth theft or "hotlinking" is direct linking to a website's files (images, video, etc.). An example would be using an tag to display a JEPG image you found on someone else's web page so it will appear on your own site, journal, weblog, forum posting, etc.

Alot of sites allow hotlinking of their images, files and Flash Games. Or complete website pages as the MyHoroscope does. http://www.scopes-mart.com/webmaster/

Whenever I get a web site up again I will make a quick MOD/ADDON for your XOOPS site...flash games in the iframe and block to open new window to games.



72
AAINC
Re: pnFlashGames module
  • 2003/12/8 14:43

  • AAINC

  • Not too shy to talk

  • Posts: 121

  • Since: 2003/10/18


Hello,
As much as I hate Iframe, I have a basic horoscope mod that uses them and calls external pages within the XOOPS enviroment.(Iframe...grrr...not even a mod to me. ) You can do same thing with these flash games so that they open in the iframe within your site instead of a new window. A small step up from hotlinking. A basic flash game module.
Just download basic horoscope mod and convert to myflashgames or xflashgames.

http://archangelartifacts.com/modules/myhoroscope/


AAINC



73
AAINC
Re: Note to Self: Important Xoops Information
  • 2003/12/6 6:42

  • AAINC

  • Not too shy to talk

  • Posts: 121

  • Since: 2003/10/18



Recoded Nukescripts.net member paypal block to sorta work with Xoops.
It was connecting to PayPal and using the IPN. It actually added members to specific groups....it was working.
Anyways I was trying to change it over to use the smarty templates and made a mess, a big mess of things.......and then realised that I did not backup the original files.......lost......poof.....gone....back to square one.
Not gonna play with til I figure out this smarty thing.

BACKUP.......BACKUP......BACKUP


PEACE
AAINC



74
AAINC
Re: Modules making?
  • 2003/12/6 6:35

  • AAINC

  • Not too shy to talk

  • Posts: 121

  • Since: 2003/10/18


Quote:

MithyT2 wrote:
Check out the wiki on module development


Well...It a bit lacking and outdated...........
Greeter mod........ok

No examples of calling from or adding to MySQL db through smarty.
Been holding off on 4 different projects until I can figure it out. I have them working without using smarty and calling anything from the core files........what a mess.
Really do not like having to rewrite code that is already there for use.

Hey mithy maybe you or someone can make an example mod to call the db using smarty and also to add to db through admin....

PEACE
AAINC



75
AAINC
Re: Xoops or phpNuke?
  • 2003/12/6 6:28

  • AAINC

  • Not too shy to talk

  • Posts: 121

  • Since: 2003/10/18


Hello bd_csmc,
Nice seeing others switching over to xoops.

Was a hardcode nuker for a couple years and started to code some simple mods. Now I can code like crazy using PHP and MySQL. Owe alot of that from the help from Nukescripts.net, Bob is awesome.

As soon as I installed XOOPS 2.0.5 I was hooked, had to figure out this smarty thing, besides XOOPS is alot more user and admin friendly.

Still have a time with the Smarty Templates and getting them to work. Something as easy as calling data from MySQL db is driving me batty.
I mean I can do it without the smarty but.......

Anyways welcome to Xoops.......Into The Future

AAINC



76
AAINC
Re: Tell A Friend Hack
  • 2003/11/26 23:28

  • AAINC

  • Not too shy to talk

  • Posts: 121

  • Since: 2003/10/18





77
AAINC
Re: Is there a "Recommend US" module?
  • 2003/11/26 23:27

  • AAINC

  • Not too shy to talk

  • Posts: 121

  • Since: 2003/10/18





78
AAINC
Re: "Tell a friend" module
  • 2003/11/13 20:06

  • AAINC

  • Not too shy to talk

  • Posts: 121

  • Since: 2003/10/18


Doh, <<<<<<(Homer Simpson Voice)

Why remake when it is already part of the core.
The popup from the case friend in the misc.php is nice and clean.
Just change the language file to what you want.
xoops_root/language/english/misc.php
Quote:

define("_MSC_YOURNAMEC","Your Name: ");
define("_MSC_YOUREMAILC","Your Email: ");
define("_MSC_FRIENDNAMEC","Friend Name: ");
define("_MSC_FRIENDEMAILC","Friend Email: ");
define("_MSC_RECOMMENDSITE","Recommend this Site to a Friend");
// %s is your site name
define("_MSC_INTSITE","Interesting Site: %s");
define("_MSC_REFERENCESENT","The reference to our site has been sent to your friend. Thanks!");
define("_MSC_ENTERYNAME","Please enter your name");
define("_MSC_ENTERFNAME","Please enter your friend's name");
define("_MSC_ENTERFMAIL","Please enter your friend's email address");
define("_MSC_NEEDINFO","You need to enter required info!");
define("_MSC_INVALIDEMAIL1","The email address you provided is not a valid address.");
define("_MSC_INVALIDEMAIL2","Please check the address and try again.");


I guess instead of having to hardcode the friend popup link we could make a basic module using the friend case:
http://Xoops_Root/misc.php?action=showpopups&type=friend&op=sendform&t=1068755097
Quote:

if ( !isset($HTTP_POST_VARS['op']) || $HTTP_POST_VARS['op'] == "sendform" ) {
if ( $xoopsUser ) {
$yname = $xoopsUser->getVar("uname", 'e');
$ymail = $xoopsUser->getVar("email", 'e');
$fname = "";
$fmail = "";
} else {
$yname = "";
$ymail = "";
$fname = "";
$fmail = "";
}
printCheckForm();
echo '
';
echo "




'._MSC_RECOMMENDSITE.'



\n";
echo _MSC_YOURNAMEC."
"._MSC_YOUREMAILC."
"._MSC_FRIENDNAMEC."
"._MSC_FRIENDEMAILC."
  
\n";
$closebutton = 0;
} elseif ($HTTP_POST_VARS['op'] == "sendsite") {
$myts =& MyTextsanitizer::getInstance();
if ( $xoopsUser ) {
$ymail = $xoopsUser->getVar("email");
} else {
$ymail = isset($HTTP_POST_VARS['ymail']) ? $myts->stripSlashesGPC(trim($HTTP_POST_VARS['ymail'])) : '';
}
if ( !isset($HTTP_POST_VARS['yname']) || trim($HTTP_POST_VARS['yname']) == "" || $ymail == '' || !isset($HTTP_POST_VARS['fname']) || trim($HTTP_POST_VARS['fname']) == "" || !isset($HTTP_POST_VARS['fmail']) || trim($HTTP_POST_VARS['fmail']) == '' ) {
redirect_header(XOOPS_URL."/misc.php?action=showpopups&type=friend&op=sendform",2,_MSC_NEEDINFO);
exit();
}
$yname = $myts->stripSlashesGPC(trim($HTTP_POST_VARS['yname']));
$fname = $myts->stripSlashesGPC(trim($HTTP_POST_VARS['fname']));
$fmail = $myts->stripSlashesGPC(trim($HTTP_POST_VARS['fmail']));
if (!checkEmail($fmail) || !checkEmail($ymail)) {
$errormessage = _MSC_INVALIDEMAIL1."
"._MSC_INVALIDEMAIL2."";
redirect_header(XOOPS_URL."/misc.php?action=showpopups&type=friend&op=sendform",2,$errormessage);
exit();
}
$xoopsMailer =& getMailer();
$xoopsMailer->setTemplate("tellfriend.tpl");
$xoopsMailer->assign("SITENAME", $xoopsConfig['sitename']);
$xoopsMailer->assign("ADMINMAIL", $xoopsConfig['adminmail']);
$xoopsMailer->assign("SITEURL", XOOPS_URL."/");
$xoopsMailer->assign("YOUR_NAME", $yname);
$xoopsMailer->assign("FRIEND_NAME", $fname);
$xoopsMailer->setToEmails($fmail);
$xoopsMailer->setFromEmail($ymail);
$xoopsMailer->setFromName($yname);
$xoopsMailer->setSubject(sprintf(_MSC_INTSITE,$xoopsConfig['sitename']));
//OpenTable();
if ( !$xoopsMailer->send() ) {
echo $xoopsMailer->getErrors();
} else {
echo "

"._MSC_REFERENCESENT."

";
}
//CloseTable();
}

Some small rewrite and it will work.



Then the link to tell a friend would show in the menu block and take you to a single page tell a friend mod.
No reason to covert from nuke, it already in the core.

I have been wandering through the core files and am loving it. Once I get more familar I will make more than the basic mods..

AAINC






79
AAINC
Re: "Tell a friend" module
  • 2003/11/13 19:00

  • AAINC

  • Not too shy to talk

  • Posts: 121

  • Since: 2003/10/18


Hello,
I converted the PHPNuke "recommend Us" to a tell a friend module and I am going to covert it to a XOOPS modle.
I will be releasing several basic XOOPS modules within the next few weeks including the tell a friend.

I will release my XOOPS horoscope module within the next couple of days.

AAINC



80
AAINC
Re: ArchSilver Theme For Xoops Ready for Testing.
  • 2003/11/12 21:22

  • AAINC

  • Not too shy to talk

  • Posts: 121

  • Since: 2003/10/18


Until I get a full set of templates for download I will post individual file tweaks.

modules/system/templates/system_siteclosed.html

First bakup original file.
Then replace contents of system_siteclosed.html
with this:
Quote:






<{$xoops_sitename}>

















 





<{$lang_siteclosemsg}>
















<{$lang_login}>
<{$lang_username}>
<{$lang_password}>
 




 





Now go to modules in control panel and update system module.
This will give you Site closed page matching the ArchSilver theme. You must have ArchSilver theme installed.

Resized Image




TopTop
« 1 ... 5 6 7 (8) 9 10 »



Login

Who's Online

196 user(s) are online (117 user(s) are browsing Support Forums)


Members: 0


Guests: 196


more...

Donat-O-Meter

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

Latest GitHub Commits