Jump to content
xisto Community

imacul8

Members
  • Content Count

    96
  • Joined

  • Last visited

Everything posted by imacul8

  1. I am having a little trouble on my home page with my php script,. i get a double error // Additional pages$customnavigationbits = '';$mod_options['portal_navigation_addpages'] = unserialize($mod_options['portal_navigation_addpages']);if (!empty($mod_options['portal_navigation_addpages'])){ foreach ($mod_options['portal_navigation_addpages'] AS $key => $navlinks) { $link = $navlinks['link']; $title = $navlinks['text'];line 115 --- >$navmark = iif($navlinks['level'] == 1, $mod_options['portal_navigation_mark1'], str_repeat(' ', ($navlinks['level'] - 1)) . $mod_options['portal_navigation_mark2']); eval('$customnavigationbits .= "' . fetch_template('adv_portal_navigationbits') . '";'); }}eval('$home["$mods[modid]"][\'content\'] = "' . fetch_template('adv_portal_navigation') . '";');?> please help Notice from BuffaloHELP: Always use QUOTE and CODE bbcodes when pasting error messages and codes.
  2. Just a few things that may come in handy Backwards text snippet : will revers the text u input bck { var %x = 1,%bck while (%x <= $len($1-)) { %bck = $mid($1-,%x,1) $+ %bck | inc %x } return %bck} Usage: $bck(text) ie. //echo -a $bck(hello everyone) Returns: enoyreve olleh Random letter/number generator : creates a random letter/number combo for the length specified. rx { if ($1 == $null) { echo -a ERROR: You must specify a value for N | halt } if ($1 !isnum) { echo -a ERROR: The value of N can only be numbers | halt } if ($1 != $null) { var %i = $1 while (%i > 0) { dec %i if ($r(1,3) == 3) { var %r = %r $+ $r(1,9) } elseif ($r(1,3) == 2) { var %r = %r $+ $r(A,Z) } else { var %r = %r $+ $r(a,z) } } return %r }} Usage: $rx(N) ie. //echo -a $rx(5) Returns: w34ci, 7kag1, cxhqx, 15i62 RGB to Hex converter: converts rgb color values into hex color values toHex { var %hexChars = 0123456789ABCDEF var %r.i = $dremain($1,16) var %g.i = $dremain($2,16) var %b.i = $dremain($3,16) var %r.j = $calc((($1 - %r.i) / 16) + 2) var %g.j = $calc((($2 - %g.i) / 16) + 2) var %b.j = $calc((($3 - %b.i) / 16) + 2) return $chr(35) $+ $chrat(%hexchars,%r.j) $+ $chrat(%hexchars,%r.i) $+ $chrat(%hexchars,%g.j) $+ $chrat(%hexchars,%g.i) $+ $chrat(%hexchars,%b.j) $+ $chrat(%hexchars,%b.i)}chrat { return $mid($1,$2,1)} Usage $tohex(red,green,blue) ie. //echo -a $tohex(255,255,255) Returns: #FFFFFF And thats all from me at the moment, hope these come in handy to somebody Notice from mayank: Dont forget to add the code in code tags.
  3. Yes very true dlz there is no need for // at all, actually its quite stupid and shows a bad coder. Also instead of adding a owners nick u can add user levels to nicknames /auser [-a] <levels> <nick|address> [info] This adds the specified nick/address exactly as it is given to the users list with the specified levels. If you specify [-a], then if the user already exists, the specified levels are added to the current levels the user has. Remember, if the first level is not preceeded by an equal sign then it is a general access level. /auser owner Nick /auser helper nick then u can just use them in your on text event ie. ON owner:text just a thought
  4. My current favourite song would have to bechristina aguilera - aint no other manclosely followed bythe kooks - naiverihanna - unfaithfulPanic! at the disco - I Write Sins Not TragediesSean Paul - Temperature50 Cent - Get Rich or Die Trying Soundtrack - 17 - I'll Whip Ya Head BoyNelly Ft Paul Wall - GrillzAugie March - One Crowded HourLL Cool J Feat. Jennifer Lopez - Control MyselfI just listen to them over and over, cant get enough
  5. Last movie i saw was pirates of the carribean : dead mans chest.i was a big fan of the first pirates of the carribean and this one fullfilled my high expectations for it. Johny depp is extremely funny in it and the whole movie is very well madecant wait for number 3!
  6. Just wondering if anyone has had any experience in picture analysis in VB6.Need to scan a image and compare it to a different image and the co-ords of the place where the image differs in color too the original.... shouldnt be to hard but ive not had much experience with this sorta stuffany help would be great
  7. Hmm thanx for your answers guys. I realised that its not going to possible for me to do it...Guess i have to come up with a different way to do what i needthanx
  8. Hey i am looking for a way of decrypting md5 strings in VB6ive read that it cant be done... then ive also read it can be done... just wondering if anyone has seen or dealt with thisany help would be great thanx
  9. I dont think ive ever once used cpanel... so much easier to use a ftp program to do everything. upload, dload, edit, etc.and i use cuteFTP PRO to do it all. use it all the time its great
  10. What sort of things have u been changing?? If u have edited your meta tags and they dont include things like "boaw" then it wont find them on a google search.and maybe there was a setting somewhere to set it to show basic urls from where they come from instead of the full url..I suggest you check your admin settings carefully
  11. Took my car to get it serviced the other day and decided to get it dyno tested and tuned.First run it pulled 123kw at the rear wheelsafter tune and service was pulling 130kw at the rear wheelsi drive a Holden VP calais international 5.9ltr v8cost me $460 for the tune and service but was worth it for the extra power and having the car run a lot smoother.So just wondering what sort of power yours beasts have??
  12. If u have ever scripted in mIRC you would have surely come accross the token identifiers like $addtok $gettok, etc. Here is a little snippet u can add to your VB6 script to use these functions easily with the same format as the mirc commands. ie. $gettok(string,N,C)very easy to usehope it comes in use to someone, i use it a lot in my scripts :)Public Function AddTok(Text As String, Token, AscChar As Integer) As StringDim Tokens() As String, NumTokens As Integer, X As IntegerTokens = Split(Text, Chr(AscChar))NumTokens = UBound(Tokens) + 1For X = 1 To NumTokens If Tokens(X - 1) = Token Then GoTo ReturnLineNext XReDim Preserve Tokens(NumTokens)Tokens(NumTokens) = TokenReturnLine:AddTok = Join(Tokens, Chr(AscChar))End FunctionPublic Function InsTok(Text As String, Token, Insert As Integer, AscChar As Integer) As StringDim Tokens() As String, NumTokens As Integer, X As IntegerTokens = Split(Text, Chr(AscChar))NumTokens = UBound(Tokens) + 1ReDim Preserve Tokens(NumTokens)For X = NumTokens To Insert Step -1 Tokens(X) = Tokens(X - 1)Next XTokens(Insert - 1) = TokenInsTok = Join(Tokens, Chr(AscChar))End FunctionPublic Function NumTok(Text As String, AscChar As Integer) As IntegerDim Tokens() As StringTokens = Split(Text, Chr(AscChar))NumTok = UBound(Tokens) + 1End FunctionPublic Function GetTok(Text As String, Token As String, AscChar As Integer) As StringDim Tokens() As String, NumTokens As IntegerTokens = Split(Text, Chr(AscChar))NumTokens = UBound(Tokens) + 1If InStr(1, Token, "-") > 1 Then Dim X As Integer, Y As Integer, z As Integer, TokReturn As String X = Val(Mid(Token, 1, InStr(1, Token, "-") - 1) + 0) If InStr(1, Token, "-") = Len(Token) Then Y = 0 Else Y = Val(Mid(Token, InStr(1, Token, "-") + 1) + 0) End If If Y = 0 Then Y = NumTokens For z = X To Y If TokReturn = "" Then TokReturn = Tokens(z - 1) Else TokReturn = TokReturn & Chr(AscChar) & Tokens(z - 1) End If Next z GetTok = TokReturnElseIf Val(Token + 0) = 0 Then GetTok = NumTokensElseIf Val(Token + 0) <= NumTokens Then GetTok = Tokens(Token - 1)End IfEnd Function
  13. http://www.planetsourcecode.com/ This site would have to be one of the best going around. Has snippets,etc for a whole bunch of different programming languages.
  14. take a look here planetsourcecode.com/vb/ esults found im sure one of these is what u will be looking for hope it helps
  15. Well theres another thing that makes this website/hosting so damn good!Instead of just removing a hosting account its just temporarily disabled till u get ur credits back up which is a great thing because i havent been able to get online for ages which has been a real pain! And i was worried about my hosting cause if it was just straight out removed then i would have lost all my files, etc aswell ;)but thanx to this awesome hosting all i need to do is stay active again and it all comes back, YAY!
  16. Cool looking signatures guys! Might have to make one for myself :rolleyes:Thanx for that website gamerenders also... *goes off to have a looksies*
  17. just wondering how many credits 1 day equals??HOSTING CREDITS : 13.21 DAYS. cause before i got hosted i had around 15 credits then it dropped to a few days so im guessing days doesnt just equal 1 credit... or does it??please fill me in thankyou
  18. First of all you need --> "Windows Media Encoder" - creates the streaming media (video and audio) by encoding images from the web cam and encoding sound from the microphone, and broadcasting the streaming media output on a designated port on your PC. or something similar. Then of course u need ur fixed space hosting which u have. then u need to run and configure windows media encoder When the Windows Media Encoder first starts, the configuration wizard asks you for the port number to broadcast on (which you must reference in your web pages, see below). The default port number provided is 8080, but I recommend you change this to 1121 because some Internet service providers cause issues with port 8080. The configuration wizard also asks you for the type of output. I suggest you choose something sensible that is for Internet broadcasting opposed to local area network broadcasting. You can either create your web pages so that the web cam output is embedded in your web page, or so the web cam output is displayed in the Windows Media Player application separately. The HTML that is listed below in listing 1 and listing 2 are examples of how to embed the web cam output in your web page. The section on invoking Windows Media Player provides examples of how to get your web cam output is displayed in the Windows Media Player application separately. Embedding the web cam output : web cam HTML Listing 1 The HTML that is listed below in listing 1 will detect if Media Player is installed and if necessary will ask users of IE to install Media Player by providing the link to the download. The following is the HTML listing (listing 1) which you would place in your web page where you want the web cam output to appear. <!--- BEGIN PLAYER ---><!-- webbot bot="HTMLMarkup" startspan ----><object ID="MediaPlayer" WIDTH="320" HEIGHT="270" CLASSID="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject" CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112"><param name="autoStart" value="True"><param name="filename" value="http://wisbey.hopto.org:1121"><param NAME="ShowControls" VALUE="False"><param NAME="ShowStatusBar" VALUE="False"><embed TYPE="application/x-mplayer2" SRC="wisbey.hopto.org:1121" NAME="MediaPlayer" WIDTH="320" HEIGHT="270" autostart="1" showcontrols="0"></embed></object><!-- webbot bot="HTMLMarkup" endspan ----><!--- end PLAYER --->In listing 1 you should: change the width and height of the output with the width and height values (these should match output dimensions of your Windows Media Encoder session if you want the image to appear undistorted) set the domain name and port number (the domain name must be what you registered with no-ip.com or dyndns.org, and the port number must match what you set in Windows Media Encoder) In listing 1 you can also: enable/disable the controls (1/0 and true/false) of the Media Player session which appear in the IE Browser enable/disable the status bar (1/0 and true/false) of the Media Player session which appear in the IE Browser enable/disable autostart (1/0 and true/false) of the Media Player session so that the web cam output either automatically starts or has to be started manually (if you put this to "true" then you must enable the controls so that the viewers of the page can manually start the feed themselves) Click here to see the type of web cam stream that Listing 1 presents in your browser. Embedding the web cam output - web cam HTML Listing 2 The following is the HTML listing (listing 2) which you would place in your HTML where you want the image to appear. <p><object id="Player" width="176" height="144"classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"><param name="URL" value="http://wisbey.hopto.org:1121"><param name="uiMode" value="none"></object></p><p> <input type="BUTTON" name="BtnPlay2" value="Play" onClick="StartMeUp()"><input type="BUTTON" name="BtnStop2" value="Stop" onClick="ShutMeDown()"></p><script><!--function StartMeUp (){Player.controls.play();}function ShutMeDown (){Player.controls.stop();}--></script><script language="VBScript"><!--On error resume nextPlayer.URL = ""if err then msgbox "You need Windows Media Player 7. Go to" & chr(13) &_"http://forums.xisto.com/no_longer_exists/; In listing 2 you should: change the width and height of the output with the width and height values (these should match output dimensions of your Windows Media Encoder session if you want the image to appear undistorted) set the domain name and port number (the domain name must be what you registered with no-ip.com or dyndns.org, and the port number must match what you set in Windows Media Encoder) If you set the width and height bigger a than that of the Windows Encoder Session, a black border will appear around the streaming window. The buttons functions are required, otherwise the viewer of the page would have to right mouse click the window and select play to start the video stream. The first set of JAVA Script sets the use of the buttons, and the second set of Java Script provides a dialogue box suggesting that the user go and download Windows Media Player (should they not have Windows Media Player installed). The second set of JAVA Script is not compulsory, but is highly recommended if you want to make sure that your viewers have Windows Media Player installed. Click here to see the type of web cam stream that Listing 2 presents in your browser. Invoking Windows Media Player to view the web cam output The HTML required for opening the web cam output in Windows Media Player separately is very simple. You simply place the following HTML within your web page where you want the text and hyperlink to appear: <p>You can also view this live feed directly in Windows Media Player by <a href="webcam.asx" target="_blank">clicking here</a>.</p> This HTML will create the following text and link: You can also view this live feed directly in Windows Media Player by clicking here. In addition to the HTML listed above you need to create a webcam.asx file in a text editor such as Notepad. The following listing is the the contents of a webcam.asx file: <ASX version="3.0"><Entry><ref HREF="http://wisbey.hopto.org:1121"/></Entry></ASX>Within the webcam.asx file you must specify the domain name and port number (the domain name must be what you registered with no-ip.com or dyndns.org, and the port number must match what you set in Windows Media Encoder). Hope this helps you out..... Notice from rejected: Please put code within code tags.
  19. so nobody has any idea about this?? still having problems with these things and really need to get them resolved :\
  20. Just wondering if anyone uses any of these 3 php plugins..?After moving to this hosting and uploading all my files i get this error Warning: str_repeat(): Second argument has to be greater than or equal to 0. in /home/imacul8/public_html/forums/modules/navigation.php on line 115couldnt find any help on it on the vbulletin forums and it never happened before. Just wanting to know if anyone knows what might be causing this is how to fix it?also sometimes whilst browsing the admin control panel for photopost i get this errorFatal error: Call to a member function on a non-object in /home/imacul8/public_html/forums/includes/functions.php on line 2459i think its after i idle for a while. Im still logged in but it shows this... never used to :\and if anyone knows how i can set up my photopost gallery so that users can upload images into the members pics area and no other areas..... or do they just have to create a album first to do so ??cause in the upload pics section there is no option to upload to members pics, just to my other categories :\any help will be greatly appreciated
  21. I use my MP3/CD player in my carand either my ipod mini or creative portable mp3 playerwould really like to get a PSP but got more important things to save for
  22. well good to see the range of cars people drive...everyones dream car seems to be something luxurious and expensive!i got my new number plates for my car on friday (YAY)now says IMACUL8
  23. Just like to say a big thankyou to Xisto and its administrators/moderators for offering this type of hosting!I had been searching around for ages for some good hosting that offered PHP Mysql and GD2 and finally found one that doesnt cost anything!Just got my website up and running and its all running smoothly, just got a few things to fix up and then it should all be done :)Thanx heaps
  24. Hey i am having troubles connecting to my mySQL database...Not exactly sure what to enter for the server/host and database name, etc.Please shed some light on this subject for me :)Sorry i should have looked around for an answer to this before i asked the question. I found an answer on another postIf anyone else reads this post looking for an answer to the same question try using "localhost" as the server/host name
  25. the only zelda game i have ever played is the Ocarina of Time on N64... and it would have to be one of the best games i have ever played.Would like to buy another console and get any new zeldas that are out but i have more important things to spend money on now.
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.