• 0

Dynamic Signatures


Question

How would I make a signature that allows users to put a piece of text into my signature? I know you can use PHP, but I don't have the slightest clue about PHP

(Apart from Cutenews stuff)

Could someone make me a saple signature, very plain, and show me how to allow users to imput text into it thru my website?

Edited by TimRogers
Link to comment
https://www.neowin.net/forum/topic/301987-dynamic-signatures/
Share on other sites

Recommended Posts

  • 0

Hmm, so which one is the best - the Cache version or the normal one?

Lol, here we go again though - start afresh :)

Okay, it's all good so far :D

BUT, it seems that its behind one. Take a look at:

http://www.wizzyworld.com/externals/sig/

Choose a message, but then when it shows you the message that is current, its the old one.

Although going to: sig.png and you can see it actually does change it. Any idea's? this isnt a major bad thing as i could make the "New Message Entered Successfully" page just a simple "Thanks - refresh original page to display the current one" OR even totally redesign it, lol.

Edited by TheTrainMan
  • 0

Thanks again, Sphinx Myth!!

Ok, here is a new dynamic sig idea!

SigAtlas

I can't take much credit for it, since it's just a butchered version of IP-Atlas.

It will build up a picture of where people are from as they view the sig using their IP and lon/lat info from NetGeo to place a red dot on a map of the earth.

sigatlas.php

  • 0
Hmm, so which one is the best - the Cache version or the normal one?

Lol, here we go again though - start afresh :)

585797309[/snapback]

The "Cache" version seems to be the best for you because you don't write any dynamic data as date, IP, weather on your Sig.

Messages aren't dynamic because the sig is created/rendered and saved each time an user posts one of them.

[HeadKaze]: INCREDIBLE! :D

Edited by Sphinx Myth
  • 0

lol, okay, I am leaving it - its working okay.

http://www.wizzyworld.com/externals/sig/

Question though - how do I remove that white box around the selection thing? Or just make it invisible?

That is the only thing i need to know how to do. I have a feeling it's the "fieldset".

Thanks for ALL the help i have recieved on this :D

Pete

  • 0
Question though - how do I remove that white box around the selection thing? Or just make it invisible?

That is the only thing i need to know how to do. I have a feeling it's the "fieldset".

585797828[/snapback]

Yes, it's "FIELDSET" and "LEGEND".

Edited by Sphinx Myth
  • 0
After you've changed it, how come on the next page it shows the old image still and not the one that it's been changed to?

585798052[/snapback]

Your sig was well updated, but your browser doesn't display the good picture.

As HeadKaze said, refresh your browser. But it doesn't work sometimes because of your browser cache (your browser thinks it's the same picture, so it displays the one it has in its cache).

To override this behaviour, try this little trick (sig_form.php):

<img src="<?=DSIG_SAVED_SIG.'?'.rand( );?>" />

A random parameter suffix is added to the picture URL, but it does nothing (because a picture isn't a script :shifty: ). Browsers will think it's a new picture, will refresh their caches and will display the new picture.

Edited by Sphinx Myth
  • 0

Removed my sig thanks to some kid who kept writing f**k over and over again. I guess totally dynamic sigs are a bad idea. I'm thinking the "select a quote" option to be a better idea now.

But how to I do it? OCR? hehe no, I don't think so. IP Ban? Maybe, but anyway, I'm bored with the idea of dynamic sigs now anyway. Think I might just have something simple, or a random quote if I'm feeling special.

I could go on about "oh why is the world full of idiots", but really, it's not going to achieve anything except get the idiot more excited about his actions. I really don't care, and I don't know why I'm bothering to write this. I guess it's just a warning to all the other guys using one. It *will* be abused, this place is full of kids. Sad but true. Actually it's not really sad at all, it's a lesson to never expect people to do the right thing. Always write secure code with ways to prevent abuse.

  • 0
Removed my sig thanks to some kid who kept writing f**k over and over again. I guess totally dynamic sigs are a bad idea. I'm thinking the "select a quote" option to be a better idea now.

But how to I do it? OCR? hehe no, I don't think so. IP Ban? Maybe, but anyway, I'm bored with the idea of dynamic sigs now anyway. Think I might just have something simple, or a random quote if I'm feeling special.

I could go on about "oh why is the world full of idiots", but really, it's not going to achieve anything except get the idiot more excited about his actions. I really don't care, and I don't know why I'm bothering to write this. I guess it's just a warning to all the other guys using one. It *will* be abused, this place is full of kids. Sad but true. Actually it's not really sad at all, it's a lesson to never expect people to do the right thing. Always write secure code with ways to prevent abuse.

585804636[/snapback]

It's sad...but so true...

  • 0
Removed my sig thanks to some kid who kept writing f**k over and over again. I guess totally dynamic sigs are a bad idea. I'm thinking the "select a quote" option to be a better idea now.

But how to I do it? OCR? hehe no, I don't think so. IP Ban? Maybe, but anyway, I'm bored with the idea of dynamic sigs now anyway. Think I might just have something simple, or a random quote if I'm feeling special.

I could go on about "oh why is the world full of idiots", but really, it's not going to achieve anything except get the idiot more excited about his actions. I really don't care, and I don't know why I'm bothering to write this. I guess it's just a warning to all the other guys using one. It *will* be abused, this place is full of kids. Sad but true. Actually it's not really sad at all, it's a lesson to never expect people to do the right thing. Always write secure code with ways to prevent abuse.

585804636[/snapback]

Just use sessions to make sure only one page can change the image. Worked for me.

  • 0
Just use sessions to make sure only one page can change the image.? Worked for me.

585809069[/snapback]

Any chance you could elaborate on what exactly using a sessions is, and how they work to prevent abuse? Perhaps provide a code example.

Edit: ok, I think I get what you mean, but how does restricting the changing of a sig by one web page prevent the user from writing rude and insulting comments whether that be a text based sig (by using very easy methods to avoid a swearing filter) or by a drawing sig such as SigScribble where identifying such words is practically impossible, even using the most advanced OCR technology.

I doubt it would even be very common for people to POST to the sig from another page. What is the point of that, and how different is it to POSTing from the official page?

I think the only valid method worth bothering with is IP banning.

Edited by headkaze
  • 0
Any chance you could elaborate on what exactly using a sessions is, and how they work to prevent abuse? Perhaps provide a code example.

Edit: ok, I think I get what you mean, but how does restricting the changing of a sig by one web page prevent the user from writing rude and insulting comments whether that be a text based sig (by using very easy methods to avoid a swearing filter) or by a drawing sig such as SigScribble where identifying such words is practically impossible, even using the most advanced OCR technology.

I doubt it would even be very common for people to POST to the sig from another page. What is the point of that, and how different is it to POSTing from the official page?

I think the only valid method worth bothering with is IP banning.

585809189[/snapback]

That is exactly what it prevents users from doing.

Put this in the page that has the form on it (which in this case would be a drop down list)

<?php
session_start();
$_SESSION['Key'] = "Some Big Unknown Key....blablablalba";
?>

and put this on the page that updates your data file

<?php
session_start();
if ($_SESSION['Key'] == "Same as they key you defined in the first file") {
//Your Code Here
$_SESSION['Key'] = "NONE";
}
else
Echo ("Thanks for trying to hack my sig.  Go get a life.");
?>

The user will see the Thanks for trying to hack my sig message if they try to POST the data form another page.

Hope that helps ;)

  • 0

I had problems with people use rude/insulting words on my sig so I have added a word filter to it, any words that maybe seen as insulting/rude are filtered with * and new words can be added to list via an admin area. But on top of this I also added in ip ban so if i find someone continusly trying to do this on my sig i just simply type in the ip and ban it :)

  • 0

Hello,

I was wondering if there was a way to use a background image that I already have.

I made a basic image in Photoshop and I want to use it as the background for my dynamic signature.

I know that this is possible, but I do not know how to do it.

I know PHP, but I am not very familiar with the GD image tools. :ermm:

Clunt

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Microsoft releases PowerToys v0.100.1, fixes a bug that made remapped keys misbehave by Ivan Jenic Microsoft just released PowerToys v0.100.1, a patch update that addresses several stability and behavior issues found in v0.100.0. The v0.100.0 patch was a significant update for PowerToys, as it introduced all sorts of new features and additions, such as a rebuilt Shortcut Guide, a Command Palette Extension Gallery, webcam overlay support in ZoomIt, and more. However, the v0.100.0 version also introduced some bugs and stability issues. And now, Microsoft is addressing these issues in the new patch. The most impactful fix in this release perhaps is in Keyboard Manager, where remapped modifier keys were being delivered as system-key events, causing unexpected behavior in apps. The clearest example of this was Alt-to-Backspace remaps, deleting whole words instead of a single character. So, if you thought there was an issue with your keyboard, Microsoft just confirmed that it was PowerToys. Beyond the Keyboard Manager fix, v0.100.1 also addresses several other issues. It fixes a bug with Power Display that was preventing monitors from waking from standby correctly. Additionally, the new update patches Quick Access crashes on launch, and resolves a Shortcut Guide crash that occurred when switching between sidebar sections. Here’s the full changelog: Color Picker Fixed a bug where the main Color Picker window could appear inside the zoomed-in picker view Command Palette Fixed Run history initialization in AOT builds Fixed a bug where the Performance Monitor dock item could show ??? after restart Fixed the Hibernate command using the Sleep icon Limited the "pin to dock" dialog to displays where the dock is enabled Keyboard Manager Fixed modifier keys remapped to non-modifier keys being delivered as system-key events, which caused unexpected behavior in apps such as Alt-to-Backspace deleting whole words Power Display Fixed a bug where selecting On in the monitor power-state control did not wake a monitor from standby Fixed built-in display detection and brightness control on dual-GPU laptops where the internal panel is driven by the discrete GPU PowerToys Run Fixed VS Code Workspaces discovery after VS Code moved recently opened workspace data to shared storage Quick Access Fixed Quick Access flyout crashes caused by unhandled XAML exceptions during launch or page navigation Shortcut Guide Fixed a crash when navigating between Shortcut Guide sidebar sections Fixed number-key rendering in shortcut manifests and added a Postman shortcut manifest Updated bundled shortcut manifests to use the literal number-key token so number keys render correctly across apps ZoomIt Fixed a race condition in audio initialization for ZoomIt video recording You can download PowerToys v0.100.1 from the official GitHub releases page.
    • OBS Studio 32.2.0 Beta 2 by Razvan Serea OBS Studio is software designed for capturing, compositing, encoding, recording, and streaming video content, efficiently. It is the re-write of the widely used Open Broadcaster Software, to allow even more features and multi-platform support. OBS Studio supports multiple sources, including media files, games, web pages, application windows, webcams, your desktop, microphone and more. OBS Studio Features: High performance real time video/audio capturing and mixing, with unlimited scenes you can switch between seamlessly via custom transitions. Live streaming to Twitch, YouTube, Periscope, Mixer, GoodGame, DailyMotion, Hitbox, VK and any other RTMP server Filters for video sources such as image masking, color correction, chroma/color keying, and more. x264, H.264 and AAC for your live streams and video recordings Intel Quick Sync Video (QSV) and NVIDIA NVENC support Intuitive audio mixer with per-source filters such as noise gate, noise suppression, and gain. Take full control with VST plugin support. GPU-based game capture for high performance game streaming Unlimited number of scenes and sources Number of different and customizable transitions for when you switch between scenes Hotkeys for almost any action such as start or stop your stream or recording, push-to-talk, fast mute of any audio source, show or hide any video source, switch between scenes,and much more Live preview of any changes on your scenes and sources using Studio Mode before pushing them to your stream where your viewers will see those changes DirectShow capture device support (webcams, capture cards, etc) Powerful and easy to use configuration options. Add new Sources, duplicate existing ones, and adjust their properties effortlessly. Streamlined Settings panel for quickly configuring your broadcasts and recordings. Switch between different profiles with ease. Light and dark themes available to fit your environment. …and many other features. For free. At all. OBS Studio 32.2.0 Beta 2 changelog: Beta 2 Changes Fixed a CI deployment issue. There are no application changes since Beta 1. 32.2 New Features Replaced add source dropdown with new dialog [Warchamp7] Improved FPS selector UX [jcm93] Added missing file support for filters [exeldro] Added ability for plugins to set custom icons for new source types [cg2121] Included .webp files when adding a directory to Image Slide Show source [TarunCore] Added copy paste functions to frontend API [exeldro] Added filter to compose SDR into HDR [jpark37] Added delete as a hotkey to delete sources on macOS [PatTheMav] Added dynamic bitrate support to multitrack video [lexano-ivs] 32.2 Changes Forced Intel-based installations to update to Apple Silicon version on macOS [PatTheMav] This change means that OBS Studio versions built for Intel-based Macs but running on Apple Silicon Macs will automatically update to OBS Studio built for Apple Silicon Macs. If an installation was using third-party plugins, those plugins will no longer load until replaced with Apple Silicon versions. Fixed audio mixer state getting out of sync when changing settings via websockets or plugins [Warchamp7] Added theming for checked QToolButtons [glikely] Improved OpenGL performance slightly on low-end machines [kkartaltepe] Set minimum size for color source to 1 pixel [exeldro] Added minimum width to spinboxes [Warchamp7] Disallowed overwriting the crash handler [sebastian-s-beckmann] Applied process mitigation policies for Windows [notr1ch] Adjusted description of multitrack video [jhnbwrs] Changed new capture devices to use fallback frame rate by default [PatTheMav] Improved DLL loading behavior on Windows [notr1ch] Limited multitrack video config to Custom service [PatTheMav] 32.2 Bug Fixes Fixed OAuth and dock state save corruption [PatTheMav] Fixed group bounds not resizing when removing items [howellrl] Fixed canvas mixes not being restored after video reset [dsaedtler] Fixed some erroneous crashes during shutdown [Warchamp7] Fixed display capture sometimes capturing black after a duplicator failure [ThrowTop] Fixed color of controls dock output buttons in System theme [shiina424] Fixed virtual camera reset failures [stephematician] Fixed potential crash when user discards changes in the settings window [suogesi] Fixed incorrect return value in virtualcam filter [xtfo] Fixed source toolbar buttons not working after dragging a source into a group [Warchamp7] Fixed properties hint icon spacing [Warchamp7] Fixed potential crash when a video device reconnects on macOS [jcm93] Fixed an issue where PipeWire could fail on NVIDIA GPUs [hoshinolina] Fixed obs_canvas_get_video_info returning incorrect framerate [dsaedtler] 32.2 Deprecations Deprecated obs_properties_add_button [sebastian-s-beckmann] Download: OBS Studio 32.2.0 Beta 2 | Portable | ARM64 | ~200.0 MB (Open Source) View: OBS Studio Homepage | Other Operating Systems | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Is a fast food restaurant a good metric to compare against?
    • Grand Theft Auto VI pricing revealed alongside Ultimate Edition and pre-loading details by Pulasthi Ariyasinghe Last week, Rockstar revealed Grand Theft Auto VI pre-orders will be starting soon, and just a day ahead of that, now the studio has announced the official pricing for the highly anticipated game. This has been a hotly debated topic among fans and industry veterans for a long time, considering the game is expected to be the biggest entertainment product launch ever. The confirmed pricing for the Grand Theft Auto VI standard edition is $79.99, which Rockstar says gives access to the "single-player experience set in the biggest, most immersive evolution of the series yet." This follows what most of our readers thought would happen with the pricing too. At the same time, a $99.99 Grand Theft Auto VI: Ultimate Edition has been confirmed as well, which lands with "an exclusive collection of premium vehicles, weapons, apparel, and action threaded across all aspects of Jason and Lucia’s story." Pre-ordering will also give fans extra bonuses, including a Vintage Vice City Pack of cosmetic items as well as a free month of GTA+. Head to the official website of the game here to check out all the cosmetic rewards the Ultimate Edition and pre-orders bring. Interestingly, the studio does not mention Grand Theft Auto VI multiplayer at all in today's announcement. Perhaps this will arrive later, following the campaign launch, or the studio is keeping that reveal for a later date. Digital pre-orders for Grand Theft Auto VI will begin on June 25, 2026, at midnight local time across regions for Xbox Series X|S and PlayStation 5. The title is slated to launch on November 19 on those same platforms. Pre-loading for Grand Theft Auto VI will kick off on November 12, giving players a week to get the game ready on their consoles. As for the physical edition, Take-Two has confirmed that this will be available without a disc, with the box only containing a download code inside. This will be purchasable starting November 12, giving players who take this route time to pre-load the title as well.
  • Recent Achievements

    • One Year In
      OHI Accounting earned a badge
      One Year In
    • First Post
      Almohandis earned a badge
      First Post
    • Rookie
      DaviKar went up a rank
      Rookie
    • Dedicated
      HidekoYamamoto94 earned a badge
      Dedicated
    • One Month Later
      timbobit earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      474
    2. 2
      +Edouard
      172
    3. 3
      PsYcHoKiLLa
      122
    4. 4
      Michael Scrip
      83
    5. 5
      Xenon
      72
  • Tell a friend

    Love Neowin? Tell a friend!