1
ljmyers
Re: Need Events Planner Module
  • 2007/7/31 21:46

  • ljmyers

  • Just popping in

  • Posts: 44

  • Since: 2006/1/4 2


Thanks for the link zyspec; I downloaded and saved.

Anymore suggestions always welcome.
Smiles,
Lana
MyOnlineMagazine .net
L.J. Myers Company (My first website)



2
ljmyers
Need Events Planner Modules Suggestions
  • 2007/7/31 20:21

  • ljmyers

  • Just popping in

  • Posts: 44

  • Since: 2006/1/4 2


I am looking for modules that will allow me to manage multiple events and even allow the contact person for each event to access the info for their event if I can wish for that much. Kind of like what a professional wedding planner or event planner software package might offer. I have found software packages on line for my computer bu I would prefer to build a website allowing clients to check for updates at their convenience. If anyone has any suggestions on modules, I would really like to hear them as XOOPS is the cms that I most familiar with and like. Thanks so much.
Smiles,
Lana
MyOnlineMagazine .net
L.J. Myers Company (My first website)



3
ljmyers
PHP Debug Admin Control Panel
  • 2007/4/4 15:08

  • ljmyers

  • Just popping in

  • Posts: 44

  • Since: 2006/1/4 2


Please ignore this post as I have finally found the fix. It was an incorrectly cloned module and after deleting everything was fine.

I'm not sure what is up but in my admin control panel > modules > administration which shows all modules, the page is showing incorrectly. It is almost as if the page is not linked to a css. The problem it presents is that it does not show modules uplaoded but not yet installed. I turned on the php debug and get the following results but do not understand them well enough to act on them. Any help is really appreciated.

Parse errorsyntax errorunexpected ',' in /home/ljmyers/domains/myonlinemagazine.net/public_html/women/modules/magazine_articles/xoops_version.php on line 51
Notice 
[PHP]: Use of undefined constant _MI_RECETTE_LNK assumed '_MI_RECETTE_LNK' in file modules/recipes/admin/menu.php line 40
Notice 
[PHP]: Use of undefined constant _CO_SOBJECT_WARNING_BETA assumed '_CO_SOBJECT_WARNING_BETA' in file modules/smartmail/xoops_version.php line 59
Notice 
[PHP]: Use of undefined constant _CO_SOBJECT_WARNING_BETA assumed '_CO_SOBJECT_WARNING_BETA' in file modules/smartobject/xoops_version.php line 48
Notice 
[PHP]: Only variables should be assigned by reference in file kernel/member.php line 304
Notice 
[PHP]: Only variables should be assigned by reference in file modules/xasset/class/xassetBaseObject.php line 223
Notice 
[PHP]: Use of undefined constant _CO_SOBJECT_WARNING_BETA assumed '_CO_SOBJECT_WARNING_BETA' in file modules/smartobject/xoops_version.php line 48
Notice 
[PHP]: Use of undefined constant _CO_SOBJECT_WARNING_BETA assumed '_CO_SOBJECT_WARNING_BETA' in file modules/smartmail/xoops_version.php line 59



Thanks up front,
Lana
Smiles,
Lana
MyOnlineMagazine .net
L.J. Myers Company (My first website)



4
ljmyers
Tell A Friend URL Problem
  • 2007/4/4 14:46

  • ljmyers

  • Just popping in

  • Posts: 44

  • Since: 2006/1/4 2


If anyone here uses this module and could make any suggestions that would be great.

When I use the tell a friend links added to my pages for this module, the result is an incorrect url in the message input for the user to edit and forward the url. The incorrect url I continue to get is:
url:http://www.myonlinemagazine.net/women/women/index.php when the correct url should be:
url:http://www.myonlinemagazine.net/women/index.php. What ever page in my site that I have added this tell a friend link to, it always adds an extra women/ into the url for that page resulting in an incorrect url. Since I am not as knowledgable in php as I would like to be, I cannot find the problem. Any help and suggsetions from you would be great. Thanks so much for your time as it is appreciated.

The url to my site ishttp://www.myonlinemagazine.net/women/index.html and the links for tell a friend can be found by clicking on the "Invite" and "Email This Page" - for you to take a peak for your self if needed.
Smiles,
Lana
MyOnlineMagazine .net
L.J. Myers Company (My first website)



5
ljmyers
Re: Help Editing PHP - Recette Module
  • 2007/4/4 14:30

  • ljmyers

  • Just popping in

  • Posts: 44

  • Since: 2006/1/4 2


Thanks so much for the time it took for you to work that out for me zyspec. It did work exactly as I wanted.
Smiles,
Lana
MyOnlineMagazine .net
L.J. Myers Company (My first website)



6
ljmyers
Help Editing PHP - Recette Module
  • 2007/4/4 11:11

  • ljmyers

  • Just popping in

  • Posts: 44

  • Since: 2006/1/4 2


I wasn't quite sure where to put this so my apologies if in the wrong place.

In the recette (recipe) module I want to take the following php code and turn it in to a php if statement.

echo '<div style="font-family:Maiandra GD;font-size:16px;margin:0px 0px 10px 0px;font-weight:600;">From the kitchen of '.$story->uname().'</div>';


I want it to have an output of From the kitchen of MyOnlineMagazine.net if the user who contributed the recipe was not a registered user.
-or-
From the kitchen of The User's Name Here as the code is currently written.

Could some one please help me with this code as I am afraid I cannot make it work. For an example see Almost Homemade Strawberry Short Cake. Any other suggestions/comments are always welcome as well.

Thanks up front,
Lana
Smiles,
Lana
MyOnlineMagazine .net
L.J. Myers Company (My first website)



7
ljmyers
Re: Display Xoops Banner Using html
  • 2007/2/7 16:00

  • ljmyers

  • Just popping in

  • Posts: 44

  • Since: 2006/1/4 2


Thanks Finni, I will definately try that out.
Smiles,
Lana
MyOnlineMagazine .net
L.J. Myers Company (My first website)



8
ljmyers
Re: Title Tag Hack
  • 2007/2/4 20:34

  • ljmyers

  • Just popping in

  • Posts: 44

  • Since: 2006/1/4 2


Hey,

For that you would have to go into your control panel > files > wordpress module > templates > and find in these pages what of the html that you would want to edit.

Smiles . . .
Smiles,
Lana
MyOnlineMagazine .net
L.J. Myers Company (My first website)



9
ljmyers
Display Xoops Banner Using html
  • 2007/2/4 20:28

  • ljmyers

  • Just popping in

  • Posts: 44

  • Since: 2006/1/4 2


To display the XOOPS banners in php I know to use something like . . .

include_once XOOPS_ROOT_PATH.'/include/functions.php';
global 
$xoopsConfig;
$db =& Database::getInstance();
$bannerobject '';
$bresult $db->query("SELECT COUNT(*) FROM ".$db->prefix("banner"));
list (
$numrows) = $db->fetchRow($bresult);
if ( 
$numrows ) {
    
$numrows $numrows-1;
    
mt_srand((double)microtime()*1000000);
    
$bannum mt_rand(0$numrows);
} else {
    
$bannum 0;
}
if ( 
$numrows ) {
    
$bresult $db->query("SELECT * FROM ".$db->prefix("banner"), 1$bannum);
list (
$bid$cid$imptotal$impmade$clicks$imageurl$clickurl$date$htmlbanner$htmlcode) = $db->fetchRow($bresult);
if (
$xoopsConfig['my_ip'] == xoops_getenv('REMOTE_ADDR')) {
        
// EMPTY
    
} else {
        
$db->queryF(sprintf("UPDATE %s SET impmade = impmade+1 WHERE bid = %u"$db->prefix("banner"), $bid));
}
    
/* Check if this impression is the last one and print the banner */
    
if ( $imptotal == $impmade ) {
        
$newid $db->genId($db->prefix("bannerfinish")."_bid_seq");
        
$sql sprintf("INSERT INTO %s (bid, cid, impressions, clicks, datestart, dateend) VALUES (%u, %u, %u, %u, %u, %u)"$db->prefix("bannerfinish"), $newid$cid$impmade$clicks$datetime());
        
$db->queryF($sql);
        
$db->queryF(sprintf("DELETE FROM %s WHERE bid = %u"$db->prefix("banner"), $bid));
    }
    if (
$htmlbanner){
        
$bannerobject $htmlcode;
    }else{
    
$bannerobject '<center><a href="'.XOOPS_URL.'/banners.php?op=click&bid='.$bid.'" target="_blank">';
        if (
stristr($imageurl'.swf')) {
            
$bannerobject $bannerobject
                
.'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" width="468" height="60">'
                
.'<param name=movie value="'.$imageurl.'">'
                
.'<param name=quality value=high>'
                
.'<embed src="'.$imageurl.'" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"; type="application/x-shockwave-flash" width="468" height="60">'
                
.'</embed>'
                
.'</object>';
        } else {
            
$bannerobject $bannerobject.'<img src="'.$imageurl.'" alt="" />';
        }

        
$bannerobject $bannerobject.'</a></center>';
}
echo 
$bannerobject;
}


But what I would like to try is to display the same banners using html. Possibly using the iframe or embed tags. I'm having the most problem in knowing what to use in place of .$imageurl. but suggestions on the best way to code it would help a lot.

The page I am wanting to add this to has an .htm extension with lots of links pointing at it so changing it to .php and/or using php code is out. I find myself having to use html or possibly even javascript. If anyone could help me out with this it would be great. That is if it can even be done and work correctly.

Thanks - Lana
Smiles,
Lana
MyOnlineMagazine .net
L.J. Myers Company (My first website)



10
ljmyers
Re: Title Tag Hack
  • 2007/1/29 12:44

  • ljmyers

  • Just popping in

  • Posts: 44

  • Since: 2006/1/4 2


Quote:
I dont want the module name to appear, I would like the page title to be the web title on the homepage and other article pages to be category and article name or in a category list just the category


Hi macmend,

If I am understanding your question correctly, the only way to have the wordpress module name not appear in the web address that I am aware of is this:

https://xoops.org/modules/smartfaq/faq.php?faqid=589

To have the category and article title show in the url go to your wordpress control panel >> options >> permalinks and choose Custom, specify below. Below that add /index.php/%category%/%postname%/ into the Custom structure: input box.
Smiles,
Lana
MyOnlineMagazine .net
L.J. Myers Company (My first website)




TopTop
(1) 2 3 4 5 »



Login

Who's Online

209 user(s) are online (144 user(s) are browsing Support Forums)


Members: 0


Guests: 209


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