41
shank
Re: Increase the Users on your site.....and keep them...
  • 2006/1/28 17:47

  • shank

  • Not too shy to talk

  • Posts: 144

  • Since: 2004/8/17


or you could change it to
<class="menuTop" href="<{$xoops_url}>/index.php">home</a>


And keep you main menu
s l s h a n k l e @ b e l l s o u t h . n e t



42
shank
Re: I would like a module that can do a countdown ticker
  • 2006/1/22 1:24

  • shank

  • Not too shy to talk

  • Posts: 144

  • Since: 2004/8/17


Now if some one could figure out how to make this automatically update so you could make it say there are so many days till the next event on the tinyevents module.
s l s h a n k l e @ b e l l s o u t h . n e t



43
shank
Re: Quickie template mod help
  • 2006/1/13 2:17

  • shank

  • Not too shy to talk

  • Posts: 144

  • Since: 2004/8/17


Quote:

DJ007 wrote:

Obv. I removed opening and closing tags...


That sure makes it hard to read to me.

Post it again with the tags, but use the code function, instead of qoute. It is the next button to the left of the qoute one.
s l s h a n k l e @ b e l l s o u t h . n e t



44
shank
Re: Private Messaging
  • 2006/1/13 1:58

  • shank

  • Not too shy to talk

  • Posts: 144

  • Since: 2004/8/17


Peter, it works for me in 2.2.3Final, do you have a popup blocker set up?

I haven't tried with IPB.
I'll work on it.
s l s h a n k l e @ b e l l s o u t h . n e t



45
shank
Re: Logged in but no user menu or access to acp
  • 2005/12/23 2:03

  • shank

  • Not too shy to talk

  • Posts: 144

  • Since: 2004/8/17


check your groups_users_link database and make sure uid 1 is set to group id 1
s l s h a n k l e @ b e l l s o u t h . n e t



46
shank
Re: Private Messaging
  • 2005/12/22 0:31

  • shank

  • Not too shy to talk

  • Posts: 144

  • Since: 2004/8/17


Ok. I think I got this going good, and need some people to try it.

This seems to work on XOOPS version 2.0.13.2

I have not tried it with version 2.2.3, but if someone wants to try it out and let me know if it works great.

Download the ZIP file here!

This is for English language only as far as right now.
I have never tried to make anything multi language, but if this thing works I might do it.

Let me know,
Steve
s l s h a n k l e @ b e l l s o u t h . n e t



47
shank
Re: Need help with a simple Smarty insert
  • 2005/12/21 3:31

  • shank

  • Not too shy to talk

  • Posts: 144

  • Since: 2004/8/17


Nevermind, I figured it out.
This
<?
function 
smarty_insert_cookie()
{
$cookie=$_COOKIE['pms'];
}
?>


Should've been this
<?
function 
smarty_insert_cookie()
{
$cookie=$_COOKIE['pms'];
$GLOBALS['xoopsTpl']->assign('cookie'$cookie);
}
?>
s l s h a n k l e @ b e l l s o u t h . n e t



48
shank
Re: Need help with a simple Smarty insert
  • 2005/12/21 3:21

  • shank

  • Not too shy to talk

  • Posts: 144

  • Since: 2004/8/17


Yeah, but I don't want it to pop up everytime someone goes to the index page. I want it to pop up only if they recieve a new message while they are online on any page, or the first time they log in.

Everything works, and the cookie is set. I just need to assign the cookie value to a varible that can be called in the theme file then compare that varible to $msgcount.

Thanks anyway.
s l s h a n k l e @ b e l l s o u t h . n e t



49
shank
Need help with a simple Smarty insert
  • 2005/12/21 1:37

  • shank

  • Not too shy to talk

  • Posts: 144

  • Since: 2004/8/17


I need to make a smarty insert that assigns the value of a cookie to a varible. What I am doing is working on a popup window for new private messages. This is what I did so far:

When a user logs in and has new messages they get a popup that tells them how many. this popup also sets a cookie named 'pms' with a value of $msgcount.

I have made a smarty insert that checks if they have unread messages and assigns the number of unread messages to $msgcount. and I was thinking I could make another one that would check for the cookie and assign the value to $cookie then in my theme I could do this:

<{if $xoops_isuser}><{insert name="pms"}><{insert name="cookie"}><{/if}>
<{if 
$msgcount $cookie}>
<
body onLoad="javascript: poponload()"><{else}><body><{/if}>


What I need help with apparently is the insert.cookie.php file for the plugins folder.

I tried this:
<?
function 
smarty_insert_cookie()
{
$cookie=$_COOKIE['pms'];
}
?>
and it didn't work.

Help me out here. I know this is simple.

Thanks,
Steve
s l s h a n k l e @ b e l l s o u t h . n e t



50
shank
Re: Java Script Help?!?
  • 2005/12/15 15:10

  • shank

  • Not too shy to talk

  • Posts: 144

  • Since: 2004/8/17


have you tried putting it in the < head > section of your theme.html file?
s l s h a n k l e @ b e l l s o u t h . n e t




TopTop
« 1 2 3 4 (5) 6 7 8 ... 15 »



Login

Who's Online

210 user(s) are online (137 user(s) are browsing Support Forums)


Members: 0


Guests: 210


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