xoops forums

Forum Index


Board index » All Posts (Brad)




Brad

Not too shy to talk
Posted on: 2004/7/26 1:15
Brad
Brad (Show more)
Not too shy to talk
Posts: 150
Since: 2003/12/4
#1

Re: Ventrilo Module 1.0 Released!

Quote:
thanatos wrote:
it is refering to the PHPNuke file not the module..

And *that* is your problem.

This module is only for Xoops. What I don't understand is why you thought it would work in another CMS when you found it on the official XOOPS site.


Brad

Not too shy to talk
Posted on: 2004/7/4 12:28
Brad
Brad (Show more)
Not too shy to talk
Posts: 150
Since: 2003/12/4
#2

Re: Gallery/album in shared hosting

I have an account on LunarPages as well.

Not all of their servers have all the functions disabled. You may ask them if you can move to another server that doesn't have them disabled.


Brad

Not too shy to talk
Posted on: 2004/7/3 17:50
Brad
Brad (Show more)
Not too shy to talk
Posts: 150
Since: 2003/12/4
#3

Re: Why sprintf?



To be clear... I wasn't saying my preference was to use sprintf(). At this time I don't have much of a preference although your two examples do look circus seal enticing.

I was just saying that in general, maintainability is very important and shouldn't be overriden by speed issues alone.

I think you *fully* agree with me, Dave.


Brad

Not too shy to talk
Posted on: 2004/7/3 12:45
Brad
Brad (Show more)
Not too shy to talk
Posts: 150
Since: 2003/12/4
#4

Re: Why sprintf?

Quote:
Dave_L wrote:
That's correct. sprintf is slower than concatenation.

To add to that... Slower isn't always a bad thing. Code maintainability is just as important as absolute speed.

If it was slower by, say, more than a second, then it could be an issue. If we're talking a difference of less than a second... Not an issue.


Brad

Not too shy to talk
Posted on: 2004/6/30 13:14
Brad
Brad (Show more)
Not too shy to talk
Posts: 150
Since: 2003/12/4
#5

Re: Smarty Variable Within String?

I'm pretty sure I figured out the answer in my stumblings around the Smarty web site.

I believe that I can use Smarty variables as shown in example 1. They are macro-expanded.

[edit]Thanks Mith, for verifying it for me. I see you got your post in while I was crafting this one up.[/edit]


Brad

Not too shy to talk
Posted on: 2004/6/30 13:00
Brad
Brad (Show more)
Not too shy to talk
Posts: 150
Since: 2003/12/4
#6

Re: Smarty Variable Within String?

In other words... Are Smarty variables macro-expanded (example 1 above) or are they like standard variables (example 2 above)?


Brad

Not too shy to talk
Posted on: 2004/6/30 2:29
Brad
Brad (Show more)
Not too shy to talk
Posts: 150
Since: 2003/12/4
#7

Smarty Variable Within String?

Can a Smarty variable be used within a string as shown below?

<link rel="stylesheet" href="themes/<{$theme}>/style.css" />

Or should $theme be the entire string, i.e.:

$theme = "themes/" . $theme. "/style.css"

<link rel="stylesheet" href=<{$theme}> />


Thanks for your help!

Brad


Brad

Not too shy to talk
Posted on: 2004/6/11 17:14
Brad
Brad (Show more)
Not too shy to talk
Posts: 150
Since: 2003/12/4
#8

Re: Xp weather for Xoops

Yes, XP does. For my website, it'd be a good thing because it's family-oriented and my family's extended family and friends are flung out across the nation; though mostly on the east coast.


Brad

Not too shy to talk
Posted on: 2004/6/11 13:36
Brad
Brad (Show more)
Not too shy to talk
Posts: 150
Since: 2003/12/4
#9

Re: Xp weather for Xoops

Is the user's selection retained so that the next time they visit the site, their selection of weather is already shown?


Brad

Not too shy to talk
Posted on: 2004/6/7 20:43
Brad
Brad (Show more)
Not too shy to talk
Posts: 150
Since: 2003/12/4
#10

Re: Xp weather for Xoops

In one of my development sites, I had put up XP-Weather and liked it a lot because you, as admin, could put up a default location for the weather and then the registered users could go in and change it to whichever location they wanted.



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