301
talunceford
Re: Personal Links Module Updated!!!

I doubt that any of your ideas would be tough to add at all. As far as the add any page to the block, thats as easy as modifying a few files and replacing some templates with the modified ones. Easy hack there man, I will start working on those this weekend.



302
talunceford
Re: Personal Links Module Updated!!!

yes, just click the button, view favorites and you have the option to remove it. Now when you add a link manually, you are basically just adding links to a list of "available" links that you can use or add to your favorites list. The favorites block basically displays only the links that you tell it to, even if you have more links in your usable links library. The links library being the list of links that you first see when you click [EDIT LINKS] in the favorites block. If you don't have any in the library there won't be any there. Basically this list stores hand entered links only. Let me know what you think. Any other features needed in this one? Thanks for the info.




303
talunceford
Personal Links Module Updated!!!

You can now view the module in action by going tohttps://tok2500.tswn.com, login with demo/demo. Let me know what you think. I need some feedback on what it needs.



304
talunceford
Re: Help with some code here.....

Never Mind.... I got it figured out....



305
talunceford
Help with some code here.....

I am having a tad bit of trouble with some code that I am working on. The problem is, is that when I array the data, it doesn't show all of the queried results. For example. If I have 3 links stored, it will only show two, but if I have 4 it will only show 3.

I need someone to look over the code and see what I could be doing wrong.

<?php
function myxlinks(){
global 
$xoopsUser$HTTP_COOKIE_VARS$xoopsConfig,$xoopsTheme;
global 
$xoopsDB;
include_once(
XOOPS_ROOT_PATH."/class/module.errorhandler.php");
include_once(
XOOPS_ROOT_PATH."/include/xoopscodes.php");
$uid $xoopsUser->getVar("uid");
$q "SELECT lid, url, title, type FROM ".$xoopsDB->prefix("myxlinks_favorites")." WHERE uid = '$uid'";
$result $xoopsDB->query($q) or die("");
$row_xoops_myxlinks_favs mysql_fetch_assoc($result);
$totalRows_xoops_myxlinks_favs mysql_num_rows($result);
if (
$totalRows_xoops_myxlinks_favs 0) {
                
$block = array();
                
$block['title'] = "Personal Links";        
                
$block['content'].=  "<table width=100%>";
                
$block['content'].=  "<tr>";
                
$block['content'].=  "<td id=mainmenu>";
                while (
$myrow $xoopsDB->fetchArray($result)){
                
$type $myrow['type'];
                
$url $myrow['url'];
                
$title $myrow['title'];
                
$block['content'].=  "<a href=$type$url target=_blank>$title</a>";
                }
                
$block['content'].=  "</td></tr></table>";
                
$block['content'].=  "<hr><a href='".XOOPS_URL."/modules/myxlinks/showlinks.php'>Edit Links</a>";
                }else{
                
$block['content'].=  "You do not have any<br>";
                
$block['content'].=  "links setup, would you<br>";
                
$block['content'].=  "like to set up some<br>";
                
$block['content'].=  "personal Links? <b>>><a href='".XOOPS_URL."/modules/myxlinks/showlinks.php'>Yes</a><<</b>";
                
                }
                return 
$block;
}
?>


It is throwing a curve ball at me.....

Thanks for the help,



306
talunceford
Re: Horizontal Array of News Block

Guys, Awesome work!!! Thanks for the help!!! I am going to give this a shot some time today when I get a free moment or two. I have read a few different threads regarding changing images based on section id or things of that sort. I am pretty sure that I can incorp that into my site in some manner.



307
talunceford
Re: Statistics module?

You might look at my xpphlogger module that I somewhat ported over to work with Xoops. You can find it on my site in my downloads section... Some things are quirky about it, but it seems to gather stats just fine.



308
talunceford
Re: Horizontal Array of News Block

Thanks man for the vote of reassurance! Now when you are talking about the horizontal menu, its js right? What im looking to try and accomplish is the look of EAGAMES.com with the "breaking news" up at the top and so on. I've got most of the rest figured out, but the news thing is throwing me for a loop. Check out my site, selct the montisgrey theme from the theme selector, and I will show you what I have so far. Im combining themes to get the look that I want. I've got it so that based on where you are in the site, the flash image will change.

Let me know what you think



309
talunceford
Horizontal Array of News Block

I am needing some input on how to perform a horizontal array of my news items within the smarty code. Any easy way to do this?

Basically, I want to array the last 3 news items horizontally instead of vertically. I want to trim the text down to where it only displays like the first 30 characters of the news post and allows you to click on a view more link. Ive got an idea on how to do it, but I wanted to see if anyone has a suggestion first.

Thanks for the help...



310
talunceford
Re: theme design question....smarty variable question...

Sweet, thanks guys for the help. I'll post a screenie or two when I get to that stage....




TopTop
« 1 ... 28 29 30 (31) 32 33 34 ... 36 »



Login

Who's Online

74 user(s) are online (50 user(s) are browsing Support Forums)


Members: 0


Guests: 74


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits