Author |
Message |
Topic: Convert eBay links |
dough boy
Replies: 0
Views: 6288
|
Forum: Plugins Posted: Thu Aug 09, 2012 12:55 pm Subject: Convert eBay links |
http://www.vbulletin.org/forum/showthread.php?t=144214
Anyone have a plugin that will do this? |
Topic: need assistance in paging |
dough boy
Replies: 2
Views: 10201
|
Forum: Plugins Posted: Thu Aug 09, 2012 12:52 pm Subject: need assistance in paging |
http://www.smarty.net/forums/viewtopic.php?p=9314
Been using this one for years now. |
Topic: Smarty 3.1.3 - Problem with html_select_date |
dough boy
Replies: 6
Views: 14031
|
Forum: Bugs Posted: Fri May 04, 2012 8:38 pm Subject: Smarty 3.1.3 - Problem with html_select_date |
Sorry to reopen this but some more work might want to be considered. I would pass in a mysql date time (yyyy-mm-dd) and it would work fine. All of a sudden I started getting the current date. I fou ... |
Topic: Smarty Calendar |
dough boy
Replies: 6
Views: 10859
|
Forum: General Posted: Sun Apr 01, 2012 3:51 pm Subject: Smarty Calendar |
I am assuming that you tested yours, but I cannot get your changes to work.
I left the calendar.tpl in the same folder, I renamed the resource file, and I replaced the function file with your code ... |
Topic: Smarty Calendar |
dough boy
Replies: 6
Views: 10859
|
Forum: General Posted: Sat Mar 31, 2012 12:47 pm Subject: Smarty Calendar |
Did you make a lot of changes or should I stick with my fix? |
Topic: Smarty Calendar |
dough boy
Replies: 6
Views: 10859
|
Forum: General Posted: Sat Mar 31, 2012 12:45 pm Subject: Smarty Calendar |
If anyone comes across this changing:
$smarty->display('calendar:month');
to
$smarty->display('/path/to/tpl');
Seems to have done the trick. I am guessing the pr ... |
Topic: smarty tooltip |
dough boy
Replies: 10
Views: 13066
|
Forum: General Posted: Fri Mar 30, 2012 12:55 am Subject: smarty tooltip |
Read up on your jQuery selectors
$(function () {
$('#div1,#div2').tooltip({ effect: 'slide'});
});
or
$(function () { ... |
Topic: Active Navigation Help |
dough boy
Replies: 1
Views: 3858
|
Forum: General Posted: Fri Mar 30, 2012 12:50 am Subject: Active Navigation Help |
Set a "tab" variable in PHP and then do an if to set the active tab. |
Topic: Help: Images |
dough boy
Replies: 2
Views: 5440
|
Forum: General Posted: Fri Mar 30, 2012 12:47 am Subject: Help: Images |
You should use CSS for this.
Like:
ul li img {width:y}
ul li:first-child img {width:x}
<ul>
<li><img></li>
<li><img></li>
</ul> |
Topic: Smarty Calendar |
dough boy
Replies: 6
Views: 10859
|
Forum: General Posted: Fri Mar 30, 2012 12:38 am Subject: Smarty Calendar |
I am trying to upgrade Smarty to 3.X and I have hit a snag. I am using this plugin: http://michael.yoon.org/software/smarty-plugins/ and it is yelling about this line:
$smarty->display('c ... |
Topic: I have some caching problem to sort out |
dough boy
Replies: 4
Views: 5380
|
Forum: General Posted: Sat Mar 10, 2012 9:27 pm Subject: I have some caching problem to sort out |
Sorry to step on this topic, but are you saying if I did something like:
$cache_id = 'a|b|1';
$cache_id = 'a|b|2';
$cache_id = 'a|b|n';
$smarty->clearCache(null, 'a|b|1'); # reset ... |
Topic: Problems with new version of Smarty |
dough boy
Replies: 16
Views: 15869
|
Forum: General Posted: Tue Feb 28, 2012 1:17 pm Subject: Problems with new version of Smarty |
I want global caching off (as it is a 100% dynamic website - except for the home page). If I set cache_locking = true do I still need to turn on global caching? |
Topic: Problems with new version of Smarty |
dough boy
Replies: 16
Views: 15869
|
Forum: General Posted: Tue Feb 28, 2012 1:46 am Subject: Problems with new version of Smarty |
Ok...I think that there is just a problem with Smarty, caching, and higher traffic sites. I rewrote everything as suggested and it was fine for the better part of the day. However, now that I have h ... |
Topic: Problems with new version of Smarty |
dough boy
Replies: 16
Views: 15869
|
Forum: General Posted: Mon Feb 27, 2012 7:28 pm Subject: Problems with new version of Smarty |
I'll bet one problem is that your apache user and your cron user are not the same, and you run into file permission problems. Be sure that your cron runs as the same user that apache is run as.The CRO ... |
Topic: Problems with new version of Smarty |
dough boy
Replies: 16
Views: 15869
|
Forum: General Posted: Mon Feb 27, 2012 4:44 pm Subject: Problems with new version of Smarty |
Sorry, I am not being clear.
I call $smarty->fetch() on a template. I then save the returned result as a template file itself (just static HTML). This tpl (the static version) is then included ... |
|