1
Brad
Re: Ventrilo Module 1.0 Released!
  • 2004/7/26 1:15

  • Brad

  • Not too shy to talk

  • Posts: 150

  • Since: 2003/12/4


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.



2
Brad
Re: Gallery/album in shared hosting
  • 2004/7/4 12:28

  • Brad

  • Not too shy to talk

  • Posts: 150

  • Since: 2003/12/4


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.



3
Brad
Re: Why sprintf?
  • 2004/7/3 17:50

  • Brad

  • Not too shy to talk

  • Posts: 150

  • Since: 2003/12/4




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.



4
Brad
Re: Why sprintf?
  • 2004/7/3 12:45

  • Brad

  • Not too shy to talk

  • Posts: 150

  • Since: 2003/12/4


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.



5
Brad
Re: Smarty Variable Within String?
  • 2004/6/30 13:14

  • Brad

  • Not too shy to talk

  • Posts: 150

  • Since: 2003/12/4


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]



6
Brad
Re: Smarty Variable Within String?
  • 2004/6/30 13:00

  • Brad

  • Not too shy to talk

  • Posts: 150

  • Since: 2003/12/4


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



7
Brad
Smarty Variable Within String?
  • 2004/6/30 2:29

  • Brad

  • Not too shy to talk

  • Posts: 150

  • Since: 2003/12/4


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



8
Brad
Re: Xp weather for Xoops
  • 2004/6/11 17:14

  • Brad

  • Not too shy to talk

  • Posts: 150

  • Since: 2003/12/4


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.



9
Brad
Re: Xp weather for Xoops
  • 2004/6/11 13:36

  • Brad

  • Not too shy to talk

  • Posts: 150

  • Since: 2003/12/4


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



10
Brad
Re: Xp weather for Xoops
  • 2004/6/7 20:43

  • Brad

  • Not too shy to talk

  • Posts: 150

  • Since: 2003/12/4


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 »



Login

Who's Online

170 user(s) are online (127 user(s) are browsing Support Forums)


Members: 0


Guests: 170


more...

Donat-O-Meter

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

Latest GitHub Commits