Jump to content
xisto Community
Tsunami

You Want It, I Can Make It Request some code

Recommended Posts

ok i got bored... and i tried to make something similar to what they offer at cooltext.com... ok

EXAMPLE: Tsunami's Cool Text

More options are to come.. hopefully with more fonts and such...

code will be posted upon request (because if someone wants the code i have to take out my table tags and such and im just a bit to lazy to do it right now if no one wants it >.< )

Share this post


Link to post
Share on other sites

ill fiddle with it and i might make a simple one but there is absolutely no way ill do one that can do every possible chemical formula in the world >.<

Are you saying that you would hard code each formula? That's actually the hard way to do it.

Share this post


Link to post
Share on other sites

I wish there was just some way to put in their url and get their myspace name and a picture url but sadly there isnt >.<

Of course you can! All you need is to find something unique about how the name is displayed - such as a certain tag being used - and the same for the picture. And then grab the webpage and parse it for those things. Both of which are practically handed to you:

if( preg_match('#<span class="nametext">(.[^<]*)</span>#', $webpage_data, $name_matches) &&preg_match('#href="http://viewmorepics\.myspace\.com/index\.cfm\?fuseaction=user\.viewPicture&friendID=[0-9]*"><img src="(.[^"]*)"#', $webpage_data, $image_matches) ) {  echo 'Name: <strong>' . $name_matches[1] . '</strong><br>' . "\n";  echo 'Image: <a href="' . $image_matches[1] . '">' . $image_matches[1] . '</a>';}

Share this post


Link to post
Share on other sites

@ beeseven...im saying that it would be fairly easy to do it for something simple but it would take a bit of thinking to make it do extremely complex ones... ya feels me?@spectre...Good work! i havent tested it out to see if it works or not but i have faith... i figured there was a way to do it but im just lazy :-p

Share this post


Link to post
Share on other sites

Actually tsunami I think you can, Looking back on Microsoft Access class. Basically the person would fill out the form then the db would collect it and so all that information would be stored and so you could produce a name, image and url if you wanted to.I think thats what spectre is trying to do with that coding.

Share this post


Link to post
Share on other sites

well, i'll try to be to the point, i would like a guestbook type of thing that when you add a comment it also posts it at my forums, which are currently at IF but if it's easier i'll run ipb 1.3, and also vice versa (if you post a comment in the forums it shows up at the guestbook) but it only posts in a certain forum and gets the posts from certain forums. i was going to go with a simple staright guestbook but it sounded like you wanted a challange.

Share this post


Link to post
Share on other sites

are you talking about a guest book and when you leave a comment it also adds it to a "shoutbox" type of thing on ur forums or do you actually want it to leave a "post" ?

Share this post


Link to post
Share on other sites

I need a script that compares 2 variables, and looks for a difference between them. It will then highlight the words that are different, as shown in the image below:

 

Posted Image

 

So in the left cell, the yellow text is the text that has been removed OR replaced.

 

In the right cell, the green text is the text that has replaced some text in the left cell, OR new text.

 

 

This script will be used to compare 2 versions of a document stored in the database, to see the difference between each change (all revisions are stored in the database). I know that it's possible with PHP, because Wikipedia, which is coded in PHP, uses it, but I have absolutely no clue on how to do it. If you could make that script, it would be great!!

Share this post


Link to post
Share on other sites

hey tsunami, thanks for the script you wrote me, it works like a charm and i plan on adding it to my site when the new year roles around along with a few other new features!! thanks a bunch!Cant wait to learn PHP so i can figure out how to draw the Default Image, and the Name automatically from myspace lol

Edited by Albus Dumbledore (see edit history)

Share this post


Link to post
Share on other sites

Hi tsunami, are you still doing this?i'd really like a nice "latest topic/ posts" mod for my Joomla/SMF site. (http://www.morboguild.org/)The one i'm using now is ssi, and i don't really like it. It only does posts, so if 5 people reply to the same topic, it just shows all 5.I had one when i used dragonfly CMS that would scroll the 10 latest topics so it didn't take up a ton of room in my left column.It would need to take into consideration forum permissions as i wouldn't want people able to see private boards.I can go into more detail, but I wasn't sure if you were still looking for things to do.let me know.Thanks!

Share this post


Link to post
Share on other sites

I would like to get a SMF referral system. So here is what I tought it could be:

Each member would get their own referral link. Guests that would click it and register by it would get that member who's link was that some credits to use in shop powered by DanSoft SMFShop.

I would specially like it to be installed like a mod (in .rar, .zip etc package), because I don't know how to use it if you would give me just a code. But if you can't do it any other type please provide information how to use it. I would be also happy to link your site, I have a place for "thankyou links". Please try to do it. I have searched a lot but didn't find it, so if it's possible, please make it. Thankoo. ;)

Share this post


Link to post
Share on other sites

Hi My name is Kay and I'm not quite sure when the last time this thread was updated, but I was wondering if you could me a complete login system that includes the following things:- Login Page- Register Page- Logout Page (or a link to logout)- Customizable Instant Member Profiles (Much like MySpace or Matmice)The instant member profiles is the most important part and I would really appreciate it if you could add this into the script. I would also like to the request that the member profiles be written so that the members are able to edit them at any time. I know a little bit about PHP/Perl/Javascript/HTML so I'm hoping that I will be able to edit the code that you give me, if you give it to me. :P Thanks in advanced.

Share this post


Link to post
Share on other sites

Kay,

There are already a number of user profiling/authentication systems out there. Joomla (https://www.joomla.org/) has the login stuff, and the Community Builder component (http://www.joomlapolis.com/) and related extensions add powerful profile capabilities. Although there is a bit of aa learning curve to using this powerful duo, you will be very satisfied in the end.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In 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.