Having trouble with your Bravenet Copy/Paste service codes? Read the Copy/Paste Tutorials FIRST. Then if you have a specific question about how to Copy and Paste, post it here with as much detail as possible. Remember, you should always Paste your Bravenet service codes as HTML CODE not TEXT.
Please do not post advertisements in this forum.
|
|
||
| Return to Website | ||
| Viewing Page 1 of 1 (Total Posts: 13) |
| Author | Comment |
Chou Xtreme
Apr 13, 08 - 4:20 PM |
Unable to post in my guestbook?
Hello! First of all, amazing website tools, I really like them! Now, I created a Bravenet guestbook and pasted the code on my frontpage, it's showing without a problem but posting is impossible. None of my members is able to click the post button and receive a popup. I can only post in the guestbook from this website. Any help/info? |
|
Sherlock
Apr 13th, 2008 - 5:00 PM |
I think you should try commenting out the line that contains this code: <object width="300" height="80"> <param name="movie" value="http://media.imeem.com/m/dgD_Gi6K1Q"> </param> <param name="wmode" value="transparent"> </param> <embed src="http://media.imeem.com/m/dgD_Gi6K1Q" type="application/x-shockwave-flash" width="1" height="1" wmode="transparent"> </embed> </object> because when I try to view your page, it seems to get stuck trying to download content from imeem.com. This may be preventing scripts on the page from working properly, since the page never finishes loading. |
Chou Xtreme
Apr 13th, 2008 - 5:14 PM |
Thank you for the reply. I removed the imeem code without success to the guestbook. Even when I have the imeem code on my page, it loads for me with no problem. I don't think the imeem code is the infection here. But like I said, code removed and no success. |
Chou Xtreme
Apr 13th, 2008 - 5:26 PM |
I tried to post it inside my forum and the funny thing is that when I paste code and preview it, I can click the link for popup but as soon as I submit the post, the button doesn't work anymore. When I hover the post button, it says: BN-Pagination-Top-Nav |
Chou Xtreme
Apr 13th, 2008 - 5:49 PM |
(function( $ ) { if(!Bravenet.Guestbook) { Bravenet.require( 'pagin' ); } Bravenet.Guestbook = Bravenet.Service.extend({ initialize: function() { guestbook_options = this.options; // TODO: remove me if(this.options.editor) { Bravenet.require( 'service-editor' ); } else { ServiceEditor = function() {}; } this.addCss( this.getServiceUrl('guestbook.css.php', { 'usernum': this.options.usernum, 'cache': new Date().getTime() }) ); this.display(); }, getServiceUrl: function( fragment, options ) { options = options || {}; var url = [ 'http://pub', this.getPubNumber(), '.bravenet.com/guestbook/embed/', fragment ]; var query_string = []; for (var key in options) { query_string.push(key + '=' + options );} if (query_string.length > 0) { if (fragment.indexOf('?') != -1) { url.push('&'); } else { url.push('?'); } url.push(query_string.join('&')); } return url.join(''); }, display: function() { var container = this.options.container; delete this.options.container; $.getJSON(this.getServiceUrl('guestbook.js.php?callback=?'), this.options, function( tpl ) { $( container ).html( tpl ); }); } }); Bravenet.register('guestbook', Bravenet.Guestbook); })( Bravenet.jQuery ); var guestbook = {}; guestbook.showPost = function() { var _self=this; BN_guestbook_interval=null; if(!BN_guestbook_interval) BN_guestbook_interval=setInterval(pagi.periodicUpdater,200); var screenw = screen.width; var screenh = screen.height; var winw = 600; var winh = 400; var centerw = (screenw - winw) / 2; var centerh = ((screenh - winh) / 2); var usernum = guestbook_options.usernum; var pubnum = Bravenet.Core.getPubNumber( usernum ); BN_guestbook_PostForm=window.open('http://pub'+pubnum+'.bravenet.com/guestbook/embed/showpost.js.php?usernum='+usernum,'BN_guestbook_PostForm','directories=no, scrollbars=yes, menubar=no, resizable=no, status=no, titblebar=no, toolbar=no, width='+winw+', height='+winh+', top='+centerh+', left='+centerw); BN_guestbook_PostForm.focus(); } |
|
Sherlock
Apr 13th, 2008 - 6:53 PM |
I tried it again. For me, Firefox still shows: Transferring data from www.imeem.com for several seconds when I view your page. But this time, it changed to "Done", so my guess was wrong. I thought of checking the Error Console in Firefox. Every time I click the "Post" button on your guestbook, I see an entry added to the log: Error: window.open is not a function Source File: http://apps.bravenet.com/services/guestbook.js Line: 79 I don't know why that would happen only on your site, but perhaps you should open a ticket and explain your problem to Bravenet. |
Chou Xtreme
Apr 13th, 2008 - 7:25 PM |
Yes Sherlock, I receive that same error and this line is attached to the message: BN_guestbook_PostForm=window.open('http://pub'+pubnum+'.bravenet.com/guestbook/embed/showpost.js.php?usernum='+usernum,'BN_guestbook_PostForm','directories=no, scrollbars=yes, menubar=no, resizable=no, status=no, titblebar=no, toolbar=no, width='+winw+', height='+winh+', top='+centerh+', left='+centerw); I have opened a support ticket, thank for your help! |
Chou Xtreme
Apr 15th, 2008 - 5:20 AM |
Can anyone help me with this problem? |
|
candy
Apr 15th, 2008 - 3:06 PM |
chou check your ticket online for an answer you have gmail so your responses are probably not being delivered so check online it could be something you have or are using on your site that is the problem so as said check your ticket online to see if they answered |
Chou Xtreme
Apr 15th, 2008 - 5:16 PM |
No answer on the ticket yet. |
|
Sherlock
Apr 15th, 2008 - 6:09 PM |
As far as I can tell, the problems only occur when you use Bravenet's embedded version of their Guestbook. If you just link to the Guestbook, it should be fine. |
Chou Xtreme
Apr 16th, 2008 - 6:59 AM |
Yes that is correct, Sherlock. Please allow me to explain the odd. When I copy and paste the guestbook code inside my forum in a post and press preview.. the popup will show up! But.. as soon as I submit that post, the code is not working anymore and locks the post button on the guestbook. I did place Google Analystics in the overal_footer template so that could be the case but I do not wish to remove that from my website. |
Chou Xtreme
Apr 16th, 2008 - 7:12 AM |
Concerning the Google Analytics on my website. Look at the URL of the Analystics:google-analytics.com/ga.js Look at the URL of the Guestbook: bravenet.com/go.js Could this be a connection? |
bravenet.com