4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Releases & Support) => Topic started by: Mr_LovaLove on November 01, 2008, 03:52:28 PM

Title: code: Display message for guests (none registered users)
Post by: Mr_LovaLove on November 01, 2008, 03:52:28 PM
hii,

this code to display a message for user tell him/her that not registered and click  here to register also there is a X button to close the message box


all what you need is to copy what is in attachment

and past it in your header.html

befor the </head>

also copy this image (http://www.143.ae/up//uploads/images/143-f145fc2fd5.gif) (http://www.143.ae/up/)

which i also attached to your root directory  

so it will be like this

example: www.143.ae/image

check there will be a message box in the left of your screen click on (http://www.143.ae/up//uploads/images/143-f145fc2fd5.gif) (http://www.143.ae/up/) to close that box


in the end, this something i found so feel free to add whatever you want

and also, it could be used for for advertising <-- just an example ;)

also you can use the code for members if you want to show them a reminder note (but you have to write that note in normal way)


BIG THANKS FOR V@no and SLL

for this post

http://www.4homepages.de/forum/index.php?topic=6058.msg26506#msg26506
Title: Re: code: Display message for guests (none registered users)
Post by: batu544 on November 02, 2008, 12:34:29 PM
hmm... good script ..  :D

Title: Re: code: Display message for guests (none registered users)
Post by: mawenzi on November 02, 2008, 02:20:38 PM
... nice ... and thanks for sharing ...
... moved to Mods & Plugins (Releases & Support) ...
Title: Re: code: Display message for guests (none registered users)
Post by: Mr_LovaLove on November 03, 2008, 07:11:35 AM
My Pleasure

thanks
Title: Re: code: Display message for guests (none registered users)
Post by: batu544 on November 04, 2008, 04:14:55 PM
Hi,
   One small issue in attached txt file..  if and endif  is not matching ..   There are 2 {if userlogged.... }  and only one {endif userlogged..}


 .. I think one part is just repeated the that file. please update it.


thanks
Title: Re: code: Display message for guests (none registered users)
Post by: Mr_LovaLove on November 08, 2008, 09:48:23 PM
Hi,
   One small issue in attached txt file..  if and endif  is not matching ..   There are 2 {if userlogged.... }  and only one {endif userlogged..}


 .. I think one part is just repeated the that file. please update it.


thanks


SORRY

there was a duplicated code

which one is arabic and the another on in english

the fixed code is attached in this post

hope couild be replaced in the main post

thanks alot for pointin' me

and traced this mistake
Title: Re: code: Display message for guests (none registered users)
Post by: V@no on November 08, 2008, 11:43:53 PM
please attach the correct file to your original post, to avoid confusion.
Title: Re: code: Display message for guests (none registered users)
Post by: Mr_LovaLove on November 09, 2008, 10:15:45 AM
please attach the correct file to your original post, to avoid confusion.
\

done V@NO

and thought i dont have permission to do that,

but seems i was wrong and thanks for reminding me

the correct code has been attached in the first post (main post)

thanks
Title: Re: code: Display message for guests (none registered users)
Post by: babe on December 04, 2008, 03:14:24 PM
Could this be made a little less intrusive (no pop-up), so that it just shows a little notification text box inside the HTML for non-registered users?
Title: Re: code: Display message for guests (none registered users)
Post by: batu544 on February 24, 2009, 12:05:46 PM
Hi,
       I need little bit change in this code.. The message is always scrolls if I am scrolling the page down or up.. Is it possible to keep it constant without taking any space. without taking any space means .. it will display on the top of any image and user can close it so that he can see the image ..


is it possible ??


Thanks
Title: Re: code: Display message for guests (none registered users)
Post by: Farina on May 30, 2009, 10:20:04 AM
Done. Success... http://jdmmod.com/ (http://jdmmod.com/)
Title: Re: code: Display message for guests (none registered users)
Post by: Mr_LovaLove on June 26, 2009, 11:23:16 PM
Hi,
       I need little bit change in this code.. The message is always scrolls if I am scrolling the page down or up.. Is it possible to keep it constant without taking any space. without taking any space means .. it will display on the top of any image and user can close it so that he can see the image ..


is it possible ??


Thanks


try the attachment and sorry 4 being later , coz i was away for work porpuse

hope it works