Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
#318035 07/27/2009 12:44 PM
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Author: James Corthell, VNC Web Services

More Information: You can view the VNC Web Services information page for this script here.

Requirements: UBB.Threads 7.x (not compatible with UBB.Threads 6.x or below)

Current Version: v0.3

If you'd like to manage pages via the UBB.threads system, versus manually editing pages with this modification, please see our new UBB.threads Pages modification.


About:
This addon will allow you to call pages into your UBB.Threads7 install, thus allowing your pages to "wrap" into UBB.threads.

Demo:
You can see a working demo of the "sample" file on A Gardeners Forum.

Install Instructions:
Upload the included files to your server, and place your new pages in a /wrapper directory following the format in the sample.wrapper.php file.

Usage Instructions:
  • Create a new page in the "wrapper/" directory, it should follow the example in the sample.wrapper.php file.
  • Create a new string in the "languages/english/wrapper.php" file following the example of the "sample" string to setup the title of the page.
  • Your new page will now be accessible by accessing the wrapper page as "wrapper.php?wrap=sample".


Please Note:
Whatever you name your page in the "wrapper/" directory will be what the script will use to call your new page (and the associated language string), so we recommend that you use all lowercase characters.

Version Additions:
v0.3 - Updated the wrapper system to be in line with v7.6.0 changes (note that previous builds should continue to work, they will just have old style elements).
v0.2 - This maintenance release was simply for some code cleanup and simplifying adding titles for new pages as language file strings.

Pricing:
$0 - This modification is freeware to the UBB.Threads7 world; but if you feel like donating, feel free to access the "information" page above.
Attachments
UBB.Wrapper - v0.2 Refresh.zip (4.04 KB, 52 downloads)
SHA1: c3f439901d1bcd337127af11b74281a2b5ed87e4
UBB.Wrapper v0.3.zip (4.48 KB, 16 downloads)
SHA1: 25c00371acdd05edda6afa6a896fadcbd8929db3


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Sponsored Links
Gizmo #318038 07/29/2009 11:22 PM
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
I refreshed the v0.2 zip file; please re-download and re-upload all files.

I miss-named the wrapper files, it's already a used file so I renamed it accordingly; you're also going to likely want to reupload the wrapper files.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Gizmo #318039 08/03/2009 1:11 PM
Joined: Jan 2000
Posts: 254
Likes: 4
Beta Tester
Beta Tester
Joined: Jan 2000
Posts: 254
Likes: 4
Fairly painless to install.
But I have a question. On your site the wrapper has your islands just like the forum summary page.
Mine did not.
How where do you add that in?



There is no such thing as stupid questions.
Just stupid answers.
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
It should display items seamlessly; could you link me to a page you're wrapping so I can check it out?


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Gizmo #318041 08/03/2009 4:18 PM
Joined: Jan 2000
Posts: 254
Likes: 4
Beta Tester
Beta Tester
Joined: Jan 2000
Posts: 254
Likes: 4
http://www.iaeifl.org/testforum
BTW sample works did not modify much


There is no such thing as stupid questions.
Just stupid answers.
Sponsored Links
Joined: Jan 2000
Posts: 254
Likes: 4
Beta Tester
Beta Tester
Joined: Jan 2000
Posts: 254
Likes: 4
Oh dropped out again now. First time since 07/26/09


There is no such thing as stupid questions.
Just stupid answers.
Joined: Jan 2000
Posts: 254
Likes: 4
Beta Tester
Beta Tester
Joined: Jan 2000
Posts: 254
Likes: 4
It works fine GIZ. Operator error on my part. I had the settings in the cp for portal settings to only show left(True) and only show right(True).
So the portal showed the islands but the forum summary did not.
So the wrapper just did what it was supposed to. Not show islands because the cp was set to not show islands in the forum summary. Because of a conflict in the CP settings.
DUH!!!


There is no such thing as stupid questions.
Just stupid answers.
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Lol glad you got it working then wink...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Gizmo #318053 08/05/2009 4:53 PM
Joined: Jan 2000
Posts: 254
Likes: 4
Beta Tester
Beta Tester
Joined: Jan 2000
Posts: 254
Likes: 4
Yea, stupid is is stupid gets. I should have known using a test board that something was odd in my settings.


There is no such thing as stupid questions.
Just stupid answers.
Joined: Jan 2000
Posts: 254
Likes: 4
Beta Tester
Beta Tester
Joined: Jan 2000
Posts: 254
Likes: 4
Okay I am starting to like this a lot more.
But I have one complaint using Iframe.
Setting the height to 100% does not seem to work and never has for me. I would like to eliminate the scroll bars.
Here is my insert in the wrapper.
HTML
<iframe src="http://www.iaeifl.org/palmbeach/index.htm" width="100%"
height="600" name="youriframe" frameborder="0" vspace="0" hspace="0"
marginwidth="0" marginheight="0" scrolling="no"></iframe>
Just curious if there is another method to include a html page or do I have my iframe setting wrong?



There is no such thing as stupid questions.
Just stupid answers.
Sponsored Links
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Well, it's not really a problem with the wrapper, it'd be the coding of the iframe.

If the page is local to the site, why not use a php include?


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Gizmo #318112 08/22/2009 12:57 PM
Joined: Jan 2000
Posts: 254
Likes: 4
Beta Tester
Beta Tester
Joined: Jan 2000
Posts: 254
Likes: 4
For some reason I can't seem to get it right to use php include for a html page.
Here is what I tried in the wrapper
PHP Code

<?php include("http://www.iaeifl.org/palmbeach/index.htm"); ?>

the content will not display.

And yes I know it is a Iframe issue not the wrapper mod.


There is no such thing as stupid questions.
Just stupid answers.
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
A lot of hosts block you from using a full url; instead do the path on the server vs a url...

EX: include("/home/yoursite/public_html/palmbeach/index.htm");


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Gizmo #318114 08/22/2009 4:08 PM
Joined: Jan 2000
Posts: 254
Likes: 4
Beta Tester
Beta Tester
Joined: Jan 2000
Posts: 254
Likes: 4
Tried that . No go still a blank page. I also removed the php tag at the beginning and end of the include. That just shows a parse error.
So unless you have a suggestion on what I am doing wrong I guess I am back to the Iframe tag.
Could it be due to the html file is a stand alone page with head,meta and body tags.
What I am using is a page that someone else publishes to the same site so it is native. I believe it has some java and cgi scripts in it already have not looked that close since I don't edit that file.
So maybe that is the culprit and I just need to live with Iframe.


There is no such thing as stupid questions.
Just stupid answers.
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Try using a smarty include tag:
Code
{include file="/home/undergroundnews/public_html/forum/CREDITS.txt"}


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Gizmo #318116 08/22/2009 5:33 PM
Joined: Jan 2000
Posts: 254
Likes: 4
Beta Tester
Beta Tester
Joined: Jan 2000
Posts: 254
Likes: 4
I will give that a shot. But in the meantime. My fridg just went on the blink. So that is priority one right now.


There is no such thing as stupid questions.
Just stupid answers.
Joined: Jan 2000
Posts: 254
Likes: 4
Beta Tester
Beta Tester
Joined: Jan 2000
Posts: 254
Likes: 4
Okay I gave that a try got something to appear but it got real ugly.
Here are just the top few lines of errors.
Code
Error #256: Smarty error: [in /home/iaeifl0/public_html/palmbeach/index.htm line 16]: syntax error: unrecognized tag: (Smarty_Compiler.class.php, line 446)
Line: 1092
File: /home/iaeifl0/public_html/testforum/libs/smarty/Smarty.class.php
Error #256: Smarty error: [in /home/iaeifl0/public_html/palmbeach/index.htm line 16]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)
Line: 1092
File: /home/iaeifl0/public_html/testforum/libs/smarty/Smarty.class.php
Error #256: Smarty error: [in /home/iaeifl0/public_html/palmbeach/index.htm line 20]: syntax error: unrecognized tag 'pad' (Smarty_Compiler.class.php, line 590)
Line: 1092
File: /home/iaeifl0/public_html/testforum/libs/smarty/Smarty.class.php
Error #256: Smarty error: [in /home/iaeifl0/public_html/palmbeach/index.htm line 26]: syntax error: unrecognized tag: document.write("


There is no such thing as stupid questions.
Just stupid answers.
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Well, it's including the page, but whining about the content on those lines...

I believe specifically it's the script portion of the page that displays a message during different parts of the day lol...

So, unless you can get them to take that bit out, you'll have to go the route of the iframe.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Gizmo #318119 08/22/2009 5:45 PM
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
A quick google search returns this which has a javascript that resizes the iframe 100% height.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Gizmo #318120 08/22/2009 5:51 PM
Joined: Jan 2000
Posts: 254
Likes: 4
Beta Tester
Beta Tester
Joined: Jan 2000
Posts: 254
Likes: 4
Humm. Interesting!
I assume I should be able to paste that code including the javascript in the same default place in sample.wrapper.php?

Back to the fridge I guess.


There is no such thing as stupid questions.
Just stupid answers.
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Originally Posted by Ruben Rocha
I assume I should be able to paste that code including the javascript in the same default place in sample.wrapper.php?
I assume so


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Mar 2007
Posts: 94
Power User
Power User
Joined: Mar 2007
Posts: 94
I'm getting syntax errors now on one of my scripts...
Code
 <SCRIPT LANGUAGE="JavaScript">
<!--
function ValidateForm(form)
{
if (form.email.value == "")
{ alert("Please include your email address in visitor details"); form.email.focus(); return; }
if (form.email.value.indexOf('@', 0) == -1 ||
form.email.value.indexOf('.', 0) == -1)
{ alert("Please enter a valid email address in visitor details"); form.email.focus(); return; }
form.submit();
}
//-->
</SCRIPT>

just a simple script to verify they enter an email address....

getting the following errors using the above code.

Code

Error #256: Smarty error: [in /var/www/virtual/v/a/vannin.com/www/threads/wrapper/contact.wrapper.php line 22]: syntax error: unidentified token '.email.value' (Smarty_Compiler.class.php, line 1405)
Line: 1092
File: /var/www/virtual/v/a/vannin.com/www/threads/libs/smarty/Smarty.class.php
Error #256: Smarty error: [in /var/www/virtual/v/a/vannin.com/www/threads/wrapper/contact.wrapper.php line 22]: syntax error: unidentified token '{' (Smarty_Compiler.class.php, line 1405)
Line: 1092
File: /var/www/virtual/v/a/vannin.com/www/threads/libs/smarty/Smarty.class.php
Error #256: Smarty error: [in /var/www/virtual/v/a/vannin.com/www/threads/wrapper/contact.wrapper.php line 22]: syntax error: unidentified token ';' (Smarty_Compiler.class.php, line 1405)
Line: 1092
File: /var/www/virtual/v/a/vannin.com/www/threads/libs/smarty/Smarty.class.php
Error #256: Smarty error: [in /var/www/virtual/v/a/vannin.com/www/threads/wrapper/contact.wrapper.php line 22]: syntax error: unidentified token '.email.focus();' (Smarty_Compiler.class.php, line 1405)
Line: 1092
File: /var/www/virtual/v/a/vannin.com/www/threads/libs/smarty/Smarty.class.php
Error #256: Smarty error: [in /var/www/virtual/v/a/vannin.com/www/threads/wrapper/contact.wrapper.php line 22]: syntax error: unidentified token ';' (Smarty_Compiler.class.php, line 1405)
Line: 1092
File: /var/www/virtual/v/a/vannin.com/www/threads/libs/smarty/Smarty.class.php
Error #256: Smarty error: [in /var/www/virtual/v/a/vannin.com/www/threads/wrapper/contact.wrapper.php line 26]: syntax error: unrecognized tag: alert("Please enter a valid email address in visitor details"); form.email.focus(); return; (Smarty_Compiler.class.php, line 446)
Line: 1092
File: /var/www/virtual/v/a/vannin.com/www/threads/libs/smarty/Smarty.class.php
Error #256: Smarty error: [in /var/www/virtual/v/a/vannin.com/www/threads/wrapper/contact.wrapper.php line 26]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)
Line: 1092
File: /var/www/virtual/v/a/vannin.com/www/threads/libs/smarty/Smarty.class.php
Error #256: Smarty error: [in /var/www/virtual/v/a/vannin.com/www/threads/wrapper/contact.wrapper.php line 26]: syntax error: unclosed tag \{if} (opened line 22). (Smarty_Compiler.class.php, line 317)
Line: 1092
File: /var/www/virtual/v/a/vannin.com/www/threads/libs/smarty/Smarty.class.php

Last edited by badfrog; 08/22/2009 6:47 PM.
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Try wrapping your javascript in {literal}{/literal} tags:

Code
{literal}
<script type="text/javascript">
<!--
function ValidateForm(form)
{
if (form.email.value == "")
{ alert("Please include your email address in visitor details"); form.email.focus(); return; }
if (form.email.value.indexOf('@', 0) == -1 ||
form.email.value.indexOf('.', 0) == -1)
{ alert("Please enter a valid email address in visitor details"); form.email.focus(); return; }
form.submit();
}
//-->
</script>
{/literal}


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Gizmo #318124 08/22/2009 6:55 PM
Joined: Mar 2007
Posts: 94
Power User
Power User
Joined: Mar 2007
Posts: 94
thanx! that was the trick... didn't know about that tag.

I just got my hard drive back to working status (if you own a seagate drive, check the firmware!) and am trying to get caught up on projects, one of which is converting my remaining stand alone pages to wrapped pages.

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Glad to hear you got your HD mess all sorted... I've heard about a lot of the issues plaguing the newer drives; which is a shame since Seagate is one of my favorite brands due to their warranty...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Gizmo #318126 08/22/2009 7:13 PM
Joined: Mar 2007
Posts: 94
Power User
Power User
Joined: Mar 2007
Posts: 94
this is what I had to go through to get it back up and running...

http://www.msfn.org/board/solution-seagate-7200-11-hdds-t128807.html

was actually pretty easy once I got all the parts I needed... and I didn't mess with the usb to serial, I got a USB to TTL adapter that made things go very smoothly.



Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
I have a 750gb seagate that I haven't been able to get to operate properly; I got it as a replacement of a smaller drive via RMA... Waiting on an external enclosure before I whine tipsy


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Gizmo #318128 08/22/2009 9:16 PM
Joined: Mar 2007
Posts: 94
Power User
Power User
Joined: Mar 2007
Posts: 94
ok, new hitch in the works...

trying to redirect my google search to a wrapped page.
works fine when I point it at a regular html page, but taking that same code and putting it in the wrapper, I get nothing.. no error, nada...

Code
{literal}
<script type="text/javascript">
<!--
google_ad_client = "pub-1428978494316705";
/* thread adds */
google_ad_slot = "9181327323";
google_ad_width = 160;
google_ad_height = 600;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

<div id="cse-search-results"></div>
<script type="text/javascript">
var googleSearchIframeName = "cse-search-results";
var googleSearchFormName = "cse-search-box";
var googleSearchFrameWidth = 800;
var googleSearchDomain = "www.google.com";
var googleSearchPath = "/cse";
</script>
<script type="text/javascript" src="http://www.google.com/afsonline/show_afs_search.js"></script>
{/literal}

badfrog #318129 08/22/2009 10:03 PM
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Is there anything in your error logs on the server? I ask as some errors silently hide themselves from the browser...

When you view the source of the page, does it show any parsed data from the wrapper?


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Gizmo #318130 08/22/2009 10:19 PM
Joined: Mar 2007
Posts: 94
Power User
Power User
Joined: Mar 2007
Posts: 94
ok., the page I am pointing at is
Code
http://www.vannin.com/threads/wrapper.php?wrap=searchresults
and google is dropping
Code
?wrap=searchresults
and you get...
Code

http://www.vannin.com/threads/wrapper.php?cx=partner-pub-1428978494316705%3Ayix18h-jgii&cof=FORID%3A10&ie=ISO-8859-1&q=astro&sa=Search

badfrog #318132 08/22/2009 10:29 PM
Joined: Mar 2007
Posts: 94
Power User
Power User
Joined: Mar 2007
Posts: 94
I am trying to come up with a redirect in htaccess that will parse the google code and merge it correctly... no luck yet.

badfrog #318134 08/22/2009 10:31 PM
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Yeh it's more google b0ging the code; I'll look into something tomorrow (all else fails I'll just make another google search plugin)


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Gizmo #318137 08/22/2009 10:40 PM
Joined: Mar 2007
Posts: 94
Power User
Power User
Joined: Mar 2007
Posts: 94
what I have right now is a google search box on my error 404 pages to help people find whatever they are looking for, if I could get those results wrapped, that would be golden.

I'm still messing with it, there has to be some rewrite rule or cond that will match it and parse it to the new link.

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Is your search the "adsense" site search?

Guess there will end up being a lot of options for a search mod:
1. Adsense or not.
2. Sitesearch, publicsearch, both


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Gizmo #318144 08/23/2009 1:18 PM
Joined: Mar 2007
Posts: 94
Power User
Power User
Joined: Mar 2007
Posts: 94
yes, been using google adsense for a while and it is acutally paying off.. pays enough to run my site, computer upgrades, vacations. I can't complain about it.

I gave up trying to use a rewrite condition to parse the google info correctly into the wrapper... beyond my current skills.

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Created a Google Adsense Search modification based on badfrog's requests.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Gizmo #318160 08/23/2009 8:19 PM
Joined: Mar 2007
Posts: 94
Power User
Power User
Joined: Mar 2007
Posts: 94
I'm noticing some odd behavior..

I took my "contact us" page and wrapped it.. just a simple form the fill out and it emails me their question, since I moved it, it is occasionally snagging other info..
for example, I did a quick test, and it somehow snagged and incluced my login name and password, but the next time I tried it worked normally, then it did it again later..

and just now I got another email with someones login info in it.

the forum uses a standard formmailer script to handle the email, I can't figure out what is causing it to grab that info, or why it is only doing it sporadically.

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Weird, might have to take a look at your mailer script; could you PT it to me?


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Gizmo #318169 08/24/2009 1:53 PM
Joined: Jan 2000
Posts: 254
Likes: 4
Beta Tester
Beta Tester
Joined: Jan 2000
Posts: 254
Likes: 4
Originally Posted by Gizmo
Originally Posted by Ruben Rocha
I assume I should be able to paste that code including the javascript in the same default place in sample.wrapper.php?
I assume so
First, Sorry to be the culprit to turn this post into typewriter mode.(Ding)
But the java script fix for Iframe did not work.(Ding)
I think the culprit with the java script is it needs to be formatted a little different to include in a php script.(Ding)
So for now I will live with just a fixed Iframe size.(Ding)


There is no such thing as stupid questions.
Just stupid answers.
Joined: Mar 2007
Posts: 94
Power User
Power User
Joined: Mar 2007
Posts: 94
ok, I have been playing with this on a new project today, trying to wrap an old links page which is built with tables and am trying to get it to pick up the same CSS style as the forum is using, but it doesn't get applied no matter what I do.

no granted, I am a noob who never learned CSS and needs to, but I can't imagine that this should be this difficult to figure out.

Page 1 of 3 1 2 3

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)