Google Site Search Results On Your Webpage Unicode Available

In this section you can share self-made extensions with other users of WYSIWYG Web Builder.
There is a dedicated section for commercial extensions.
genieuk
 
 
Posts: 129
Joined: Fri Mar 06, 2009 2:10 am

Post by genieuk »

me.prosenjeet wrote:
Reason why i made it like this to keep users usernames simple and not complex. Obviously yours isn't but i mean allowing extra characters such as dot etc can make usernames look crazy and somewhat confusing for people.
But the user names are only for users and there is no reason why anyone shouldn't have crazy looking user names. In forums people do have crazy names. Forcing people to have a user name that they are not comfortable with generally results in people forgetting what user name they had used after sometime. I think this should not be limited and it should be the users choice as to what name he wants (of course you can reserve/block few user names like "admin" etc). Anyways.
Hi me.prosenjeet,

I get your point.

I use regex to look for an invalid pattern in the username.

I will try and get it changed within next two days. Regex is not a subject i like much lol as i find it so complex and i use Google Search to assist me with Regex patterns.

I will see what i can do and in next day or two hopefully have it working so users could use some non alphanumeric characters.

Regards,
Mathew
genieuk
 
 
Posts: 129
Joined: Fri Mar 06, 2009 2:10 am

Post by genieuk »

Hi me.prosenjeet,

I have now updated the registration so you can now use the following characters in your username *-_.

So for new usernames, you may have between 3-15 characters in length, must begin with a letter or number and can contain *-_..


Thanks for the suggestion you made. I got your point :)

Regards,
Mathew
Last edited by genieuk on Wed Dec 02, 2009 4:59 pm, edited 1 time in total.
User avatar
me.prosenjeet
 
 
Posts: 1265
Joined: Mon Dec 24, 2007 1:50 pm
Location: Lucknow
Contact:

Post by me.prosenjeet »

Thanks for implementing that :lol:
I will register now!!! :D
Check the new Chat GPT and Malware detect extensions at the link below

Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
genieuk
 
 
Posts: 129
Joined: Fri Mar 06, 2009 2:10 am

Post by genieuk »

me.prosenjeet wrote:Thanks for implementing that :lol:
I will register now!!! :D
Thanks :D

I got an email to notify me you signed up. :)

Regards,
Mathew
genieuk
 
 
Posts: 129
Joined: Fri Mar 06, 2009 2:10 am

Post by genieuk »

Meets W3C Standards

Built with Extension Builder 2.0.2

Will work with without problems with latest version of web builder.
genieuk
 
 
Posts: 129
Joined: Fri Mar 06, 2009 2:10 am

Post by genieuk »

Unicode Version Now Available

Previously users who was using the unicode version was unable to use extensions. Pablo has now added extension support for web builder unicode versions.

Included in zip file.

Regards,
Mathew
User avatar
Eddy
 
 
Posts: 473
Joined: Tue Nov 27, 2007 1:52 am
Location: Nederland.

Post by Eddy »

Maybe you don`t know this ,Unicode users can use the wbxconvert.exe self to convert the user extensions to the unicode version.
genieuk
 
 
Posts: 129
Joined: Fri Mar 06, 2009 2:10 am

Post by genieuk »

Eddy wrote:Maybe you don`t know this ,Unicode users can use the wbxconvert.exe self to convert the user extensions to the unicode version.
Hi Eddy,

I did realise that before hand, but incase people started asking or did not want to do it ... i done it for them so unicode version is now in zip file all ready for them.

It was a two second job so was happy to do it. :)

Regards,
Mathew
User avatar
stamjoe
 
 
Posts: 230
Joined: Sat Feb 09, 2008 10:32 am
Location: GREECE

Post by stamjoe »

Dear Mathew
i am trying to setup a Google Search. I follow all your steps from the pdf but i dont know where to find the 11th step ''11) MAKE SURE YOU SELECT 'Host results on your website:' then select 'iframe - requires two pages: one for the search box and another for the results'.''

Please i need your help
Thanks
Joe
User avatar
stamjoe
 
 
Posts: 230
Joined: Sat Feb 09, 2008 10:32 am
Location: GREECE

Post by stamjoe »

I found it....
Thanks
joe
User avatar
stamjoe
 
 
Posts: 230
Joined: Sat Feb 09, 2008 10:32 am
Location: GREECE

Post by stamjoe »

Hello again.
I have to use an inline frame at the WebBuilder for showing the Search Results?
genieuk
 
 
Posts: 129
Joined: Fri Mar 06, 2009 2:10 am

Post by genieuk »

Hi,

The inline frame is implemented into the code so no need to create one in web builder.

Regards,
Mathew
User avatar
stamjoe
 
 
Posts: 230
Joined: Sat Feb 09, 2008 10:32 am
Location: GREECE

Post by stamjoe »

Hello Mathew,
i have design the .search.html where i add the ''SEARCH BOX'' and the .search_results.html where i add one HTML code with the Code from Google.
When i perform a search the results appears aut of the page.

Check it out if you please at www.dskaterinis.gr/search.html

The page is under construction only the above 2 pages are there...

Thanks in advance
Joe
genieuk
 
 
Posts: 129
Joined: Fri Mar 06, 2009 2:10 am

Post by genieuk »

Hi,

You have the Google Seach Results added 3 times hence why the layout is gone crazy.

Web Builder is a WYSIWYG editor, how you see it on your computer is how it will show online but you have added the results extension 3 times.

You just drag the Google Search Results extension only once on the page where you want the results to appear.

Minimum width needs to be 500 pixels as google has restrictions on this nothing i can do about that im afraid.

If you still have no luck all i can suggest is go in my profile add my email from profile in Windows Live Messenger, download and install team viewer and i will assist you that way remotely.

Regards,
Mathew
User avatar
stamjoe
 
 
Posts: 230
Joined: Sat Feb 09, 2008 10:32 am
Location: GREECE

Post by stamjoe »

Hello again,
please take a look at the http://www.dskaterinis.gr/search_results.html
why the width is out of the page?
I set it at 580 px inside the BOX....
User avatar
stamjoe
 
 
Posts: 230
Joined: Sat Feb 09, 2008 10:32 am
Location: GREECE

Post by stamjoe »

first look at the http://www.dskaterinis.gr/search.html
and perform a search.

Thanks
User avatar
stamjoe
 
 
Posts: 230
Joined: Sat Feb 09, 2008 10:32 am
Location: GREECE

Post by stamjoe »

The code from Google ''Search results code''
Paste this code on http://www.dskaterinis.gr/search_results.html, where you would like your search results to appear.

<div id="cse-search-results"></div>
<script type="text/javascript">
var googleSearchIframeName = "cse-search-results";
var googleSearchFormName = "cse-search-box";
var googleSearchFrameWidth = 600;
var googleSearchDomain = "www.google.com";
var googleSearchPath = "/cse";
</script>
<script type="text/javascript" src="http://www.google.com/afsonline/show_af ... "></script>

i have to add a HTML box in my web page? In this code do i have to change the Width 600 > 500 ? And what about the Height?
genieuk
 
 
Posts: 129
Joined: Fri Mar 06, 2009 2:10 am

Post by genieuk »

Hi,

You DO NOT paste any code on the page where the results will display.

The Google Search results extension already has the code to display the results.

1) When you get your search box code off google it asks you for the url of where the results will appear, as that is in the form seach box code you dont specify it again.

Example:

The search box form you have on http://www.dskaterinis.gr/search.html is set to display the results on http://www.dskaterinis.gr/search_results.html (which is correct)

Reason why is because you have specified the url in google like you should.

So your http://www.dskaterinis.gr/search.html page is correct.

Now onto the search_results.html page. Just place the Google Search Results extension on the page. There is NO need to do anything else at all, just place it on the page, you do not need to enter any code etc on the results page as the extension does this for you. Just place on page and upload. Also the minimum width is 600 pixels sorry made a typo in post above.

Regards,
Mathew
User avatar
stamjoe
 
 
Posts: 230
Joined: Sat Feb 09, 2008 10:32 am
Location: GREECE

Post by stamjoe »

Dear Mathew
i ve done all this but still in the search_results.html again the page is wrong.
Check it out....
i dont understand what i do wrong
Thanks
Joe
genieuk
 
 
Posts: 129
Joined: Fri Mar 06, 2009 2:10 am

Post by genieuk »

Ok,

We are getting there :)

Now you must understand because Google restricts the iframe to a minimum of 600 pixels in width the Google Search Results extension must also be 600 pixels in width.

You webpage is not wide enough for the search results hence why it not showing correctly, the 600 pixel width is needed just for the search results to appear, althou your page is wider than 600 pixels the content area where the Google Search Results extension is placed is not 600 pixels.

Take a look at the image below for explanation. The blue border around the Google Search Result extension has a blue border around it to show you the 600 pixel width of the Google Search Result extension (iframe).

Image

Regards,
Mathew
User avatar
stamjoe
 
 
Posts: 230
Joined: Sat Feb 09, 2008 10:32 am
Location: GREECE

Post by stamjoe »

You re the best my friend.
I will change the width of the page.
I hope it works
thanks
Joe
User avatar
stamjoe
 
 
Posts: 230
Joined: Sat Feb 09, 2008 10:32 am
Location: GREECE

Post by stamjoe »

OK my friend it works but i have to change the width of my page.
Thanks again
Joe
genieuk
 
 
Posts: 129
Joined: Fri Mar 06, 2009 2:10 am

Post by genieuk »

stamjoe wrote:You re the best my friend.
I will change the width of the page.
I hope it works
thanks
Joe
Sadly it's a limitation Google has done. On my website as it is dynamic i can override Googles own code with a tiny bit of css so things auto adjust but webpages in web builder are not dynamic so it would not work, hence the only down side is the area where results show has to be 600 pixels wide.

I did say to someone else a week ago or so i will change the documentation to see if i can explain it more easily.

I forgot about it so in the next day or so i will update manual to try and be more easy to understand.

Regards,
Mathew
User avatar
stamjoe
 
 
Posts: 230
Joined: Sat Feb 09, 2008 10:32 am
Location: GREECE

Post by stamjoe »

Good thinking
Keep up the good work.

Joe
genieuk
 
 
Posts: 129
Joined: Fri Mar 06, 2009 2:10 am

Re: Google Site Search Results On Your Webpage Unicode Avail

Post by genieuk »

ddlg2007 wrote:Is possible use the search without buton? I wanna use it alone, without button.
Hi,

You just need to delete the following line that appears in the code that Google gives you:

Code: Select all

<input type="submit" name="sa" value="Search" />
code may differ slightly but you will tell as the input type will be submit, obviously this will mean users will have to hit enter on the keyboard.

Regards,
Mathew
Post Reply