rejetto forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - SpiderPig902

Pages: 1 2
1
HTML & templates / Re: If Statement
« on: June 15, 2010, 04:48:07 PM »
lol
SP = SpiderPig

2
HTML & templates / Re: If Statement
« on: June 15, 2010, 04:16:24 PM »
Great Thanks.
I changed it to ShowServerLimits=0
 and change the statement to:
{.if|{.!ShowServerLimits.}


and it works perfect.

Thanks

SP

3
HTML & templates / Re: If Statement
« on: June 15, 2010, 04:11:04 PM »
yes. 260

4
HTML & templates / If Statement
« on: June 15, 2010, 03:59:11 PM »
ok im drawing a total blank.
I set this statement: ShowServerLimits=No
under special:strings.
Now im trying to base a IF THEN statement under that and cant seem to get it after hours
of messing with this thing!
I have this:
            {.if|{.!ShowServerLimits.}|Yes
            Test Worked
            .}

Its suppose to display the "test Worked" only if the "ShowServerlimits" is set to "Yes".

Please help.

Thanks

SP

5
HTML & templates / Re: Drop Down User List
« on: June 08, 2010, 08:02:57 PM »
awesome. thank you so much. i will share my modifications to the terayon theme when its complete.

SP

6
HTML & templates / Re: Drop Down User List
« on: June 08, 2010, 06:38:24 PM »
ok think i finally got it. its all working, Thank you very much.
I have i hope one last question, when i dont choose a username and just click 'Change" on any of the code, it by default selects the account im logged in with. Is there a way to say something like "if {.postvar|name.}|""|Error" or something like that. so if a name from the drop down list is not chosen, that it wont run the script?

Thanks again.

7
HTML & templates / Re: Drop Down User List
« on: June 08, 2010, 02:43:55 PM »
Thanks for the update. that kinda worked but kinda didnt. If i enable an account it works but if i disable an account it says it failed even though it actually did work. Thats why i tried to see if it matched the "{.postvar|status.}" that was chosen in the form.

8
HTML & templates / Re: Drop Down User List
« on: June 07, 2010, 05:50:36 PM »
Thank you very much, this has helped alot..
Could you help me with another problem i copied off of your code. Im trying to use your javascript for the drop downs and im on the "StatisChanger".
This is what i have:
{.if|{.get account|%user%|member of|#administrators#.}|
   
{.set account|{.postvar|name.}|enabled={.postvar|status.}.}
 <p><font size="3">
 {.if|{.get account|{.postvar|name.}|enabled is|{.postvar|status.}.}|{.!Status Changed !.}|<font color=firebrick>{.!Error during change !.}/if.}</font></font></p>
 {.postvar|name.}-{.postvar|status.}
<p>Click <a href="/~adminpanel">here</a> to return.</p>
|{.section|error.}.}

Everytime i change the status, it works, but this line always shows "Error during change".
Can you see what im doing wrong?

What script did you use for your java or did you write it all yourself?

Thanks

9
HTML & templates / Re: Drop Down User List
« on: May 25, 2010, 12:47:05 PM »
thank you.
In your instruction you say to create a group called #adminpanel#, do you mean WITH the pound signs or without?

Thanks

10
HTML & templates / Re: Drop Down User List
« on: May 25, 2010, 10:58:54 AM »
hi, that looks awesome. is this from a template that i can get?
also, i cant get the adminpanel group security access to work. i created a group and added myself to it and still says i dont have access.

Another problem is when i use the drop down box and choose a name, the screen refreshes and then just goes back to default saying Choose a Name. Is there other java script in the beginning of the script or something?

Thanks again this will be awesome when i get it working.

SP

11
RAWR-Designs / Re: javascript error
« on: May 24, 2010, 07:37:53 PM »
hi sorry for the delay in this. where would i put that line "{.replace|"|&quot;|$1.}". I cant replace the search string so im not sure where to replace it.

SP

12
Programmers corner / beta macros and symbols
« on: May 24, 2010, 03:40:03 PM »
hi, is there a list of new macros and symbols that will be used in the upcomming release? im using hfs2.3 build 260. Im assuming there are new symbols and such in teh new builds?

Thanks

SP

13
HTML & templates / Drop Down User List
« on: May 24, 2010, 03:10:17 PM »
Hi, im back to finish my admin template and am stuck on something. Im trying to make the username list a drop down list. Like in my html i have this:
<select name="username">username
<option title="option" value="">{.get|accounts.}
</option>
</select>
This just make a list of the name and instead i need to create a drop down list so that i can shoose the specific name i want.
Can someone help with this? Im stuck.

Thanks

SP

14
RAWR-Designs / javascript error
« on: March 05, 2010, 06:13:30 PM »
I am racking my brain trying to figure out this java script error. Every time my page loads i get a "Unterminated String Constant".
here is where the problem is. If i remove this form statement the error goes away:
<form action="/" method="get" style="padding:5px 0px 0px;margin:0px" name="simpleSearch"><input type="text" name="search" value="{.$search-data.}" onclick="if(this.value=='{.$search-data.}')this.value=''" style="width:100px"/> <input type="submit" value="Search"></form>


The actual line is the input box. if i remove that the error goes away also.

Does anyone know java enough to see what the problem is?


The section is "[FolderOptions]" in the Terayon" template.
Thanks in advance.

Tony

15
HFS ~ HTTP File Server / Re: Archive problem
« on: March 05, 2010, 04:34:56 PM »
Ahhh, that was it. I didnt know you actually start at the root. (duh)

Thanks a million, its almost like you really know what your talking about. ;-)

Tony

Pages: 1 2