• Page 7 of 7
  • «
  • 1
  • 2
  • 5
  • 6
  • 7
Forum moderator: bigblog  
Coding Requests
Paradox
Old Guard
Posts: 3284
Reputation: 145

Message # 1 | 9:00 AM
Coding Requests


In this thread users of the uCoz system are able to request the development of custom scripts for their sites. Requests are carried out voluntarily by other forum users so please understand not all requests may be completed within a short time-frame or even at all.

About: Posting Requests


If posting a custom scripting requests please include the following;
  • In-depth description. Explain the features, functionality etc.
  • image/example of script already working.

About: Completing Requests


If you have completed a request please use the following template when posting.
Code
Requested By: $USER$
Requested On: $DATE_REQUESTED$

Solution:

$SOLUTION$

Jack of all trades in development, design, strategy.
Working as a Support Engineer.
Been here for 13 years and counting.
joexyz
JOE-vascript
Posts: 1770
Reputation: 78

Message # 91 | 2:18 PM
Quote Staryte ()
1. How can I add sound in that code so that when a new PM is received it rings only once and stops without repeating.

you can use something like
Code
<audio src="..." id="newPmAudio">

and use the .play() function for the newPmAudio id once it's triggered
Quote Staryte ()
2. I want the box to disappear immediately after I have clicked on it even without reading the messages.

that is not possible

hey i'm joe and i do not work for the company anymore, please contact other staff or tech support
icon by ch-chau

sometimes i lurk here
eddison_martin3
Posts: 5
Reputation: 0

Message # 92 | 10:26 AM
Quote joexyz ()

In the chat
NTP
Posts: 296
Reputation: 10

Message # 93 | 5:47 AM
For the Shop module, I have an item present in two different categories. I want to use conditional operators to modify the item based on if it is in one of those categories. The specific category would not be its primary category, but a secondary or tertiary one. I'm at a dead-end in trying to resolve the issue.
Web design and film == my 2 passions.

Genesis Inc. ~ New Horizons, New Beginnings
321321
Posts: 1
Reputation: 0

Message # 94 | 10:56 AM
NTP, Use conditional statements, something like:

<?if($PID$='1')?>TRUE (your code or text)<?else?>FALSE (your code or text)<?endif?>
<?if($CID$='2')?>TRUE (your code or text)<?else?>FALSE (your code or text)<?endif?>

or

<?if($PID$='1')?>TRUE (your code or text)<?endif?>
<?if($CID$='2')?>TRUE (your code or text)<?endif?>

$CID$ - category ID
$PID$ - ID of a parent category

You can find out the ID of a category or section using the web site administrator panel.
NTP
Posts: 296
Reputation: 10

Message # 95 | 3:45 AM
Quote 321321 ()

I've tried that, but the CID only goes by the item's first category, rather than any categories the item is included in.

Web design and film == my 2 passions.

Genesis Inc. ~ New Horizons, New Beginnings
  • Page 7 of 7
  • «
  • 1
  • 2
  • 5
  • 6
  • 7
Search: