xoops forums

Forum Index


Board index » All Posts (Mazar)




Mazar

Not too shy to talk
Posted on: 2010/4/8 10:04
Mazar
Mazar (Show more)
Not too shy to talk
Posts: 191
Since: 2009/1/4 0
#1

Re: Updates in FB

Try twitterfeed.com . you can enter the rss feed url of your contents it will automatically post your latest news and posts to facebook and twitter


Mazar

Not too shy to talk
Posted on: 2010/3/24 11:27
Mazar
Mazar (Show more)
Not too shy to talk
Posts: 191
Since: 2009/1/4 0
#2

Re: Automatic log out after correct log in

if you have access to phpmyadmin then clear the session table it should sort out the problem. it seems the session table is full


Mazar

Not too shy to talk
Posted on: 2010/3/24 10:14
Mazar
Mazar (Show more)
Not too shy to talk
Posts: 191
Since: 2009/1/4 0
#3

Re: link to facebook

To add the Comments Box to your site, follow these simple instructions:

1. Set up a basic Connect application. Take note of the API key and specify a callback URL to your website.
2. Download this cross-domain receiver file, and upload it to your website.
3. Add these snippets of code to each file where you want a Comments Box.
* Within the <html> tag, add: xmlns:fb="http://www.facebook.com/2008/fbml"
* Add the following code wherever you want a Comments Box to appear in your page. Replace '''YOUR_API_KEY_HERE''' with your API key, and include the path to the cross-domain receiver.
<script src=
"http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" 
type="text/javascript"></script>

<
fb:comments></fb:comments>

<
script type="text/javascript">
FB.init("YOUR_API_KEY_HERE""<path from web root>/xd_receiver.htm");
</
script>


That's it, your Comments Box is ready!


Mazar

Not too shy to talk
Posted on: 2010/3/24 10:11
Mazar
Mazar (Show more)
Not too shy to talk
Posts: 191
Since: 2009/1/4 0
#4

Re: link to facebook

Sorry I am confused you want the comment code that whoever submit comment on your site it must post on facebook or you want to share article?


Mazar

Not too shy to talk
Posted on: 2010/3/24 10:09
Mazar
Mazar (Show more)
Not too shy to talk
Posts: 191
Since: 2009/1/4 0
#5

Re: link to facebook

In the templates for what module you need this? do you need it for news or something else?


Mazar

Not too shy to talk
Posted on: 2010/3/23 22:21
Mazar
Mazar (Show more)
Not too shy to talk
Posts: 191
Since: 2009/1/4 0
#6

Re: link to facebook

are you looking for this share button
<a name="fb_share" type="button_count" href="http://www.facebook.com/sharer.php">Share</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>


Mazar

Not too shy to talk
Posted on: 2010/3/18 10:03
Mazar
Mazar (Show more)
Not too shy to talk
Posts: 191
Since: 2009/1/4 0
#7

how can i send email to multiple address with xoops mailer

$xoopsMailer =& xoops_getMailer();
            
$xoopsMailer->useMail();
            
$xoopsMailer->setToEmails($ceo);
            
//$xoopsMailer->setCcEmails($consultant);
            
$xoopsMailer->setFromEmail($xoopsConfig['adminmail']);
            
$xoopsMailer->setFromName($name);
            
$xoopsMailer->setSubject($subject);
            
$xoopsMailer->setBody($message);
            
$xoopsMailer->send();

How do i add cc or bcc in the above script using smtp mail


Mazar

Not too shy to talk
Posted on: 2010/2/19 23:02
Mazar
Mazar (Show more)
Not too shy to talk
Posts: 191
Since: 2009/1/4 0
#8

Re: No more Modules!!!

did you put any cloned module? there couldbe a conflict. check if you put any cloned module and some functions maybe confilicting with each others


Mazar

Not too shy to talk
Posted on: 2010/2/19 22:54
Mazar
Mazar (Show more)
Not too shy to talk
Posts: 191
Since: 2009/1/4 0
#9

Re: integer to date format

.formatTimeStamp($dada,"s");

or do something like this
date("Y-m-d"strtotime($row['date']));


Mazar

Not too shy to talk
Posted on: 2010/2/17 6:15
Mazar
Mazar (Show more)
Not too shy to talk
Posts: 191
Since: 2009/1/4 0
#10

Re: Help with a php function for my project

function loadstats(){
    global 
$xoopsDB,$xoopsModuleConfig;
    
$stat=array();
    
$i=1;
    
$query $xoopsDB->query(' SELECT * FROM ' $xoopsDB->prefix('kshop_orders_products'));
    while (
$row $xoopsDB->fetchArray($query))
    {
        
$stat[$i]['qty']=$row['qty'];
        
$stat[$i]['p_num']=$row['p_num'];
        
$stat[$i]['p_name']=$row['p_name'];
        
$i++;
    }

    return 
$stat;
}




TopTop
(1) 2 3 4 ... 14 »