Custom Function Req.
  • 2007/1/23 17:19

  • krewl

  • Just popping in

  • Posts: 39

  • Since: 2006/3/14

I am trying to add a function that is similar to the isAdmin function. But I don't know where to begin. I have looked through the kernel and include folders but none help. Here is what I am trying to do.

Similar to the isAdmin, if a user registers lets a say a "Team" (I have modified a module) to the site, that user now has to go through several links to get to his "team" page. I would like to add to the user menu (drop down) something like this:
<{if $xoops_xteamsadmin}>
menu4[6]='<a href="<{$xoops_url}>/visit.php?cid=<{$xteamscid}>&lid=<{$xteamslid}>">[T] Team</a>'

This would be a direct link to the "team" page from the front page; but, where do I get to the code to call from the database and then add the correct functions to make it work?

Similarly, if someone would like to add this "Team" page to a User Favorites, would this be in the same location? Does a hack exist that allows a user to add to a favorites block?

Re: Custom Function Req.
  • 2007/1/27 1:49

  • TheFinni

  • Just popping in

  • Posts: 75

  • Since: 2003/11/25


Try this link:


Cool BMX page you have created!


Who's Online

84 user(s) are online (60 user(s) are browsing Support Forums)

Members: 0

Guests: 84



Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits