vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   VB-O-GRAM ....... Site Promotional Tool (https://vborg.vbsupport.ru/showthread.php?t=74912)

Brent H 05-30-2005 11:09 PM

I have my forum width set to 760, and for some reason all the tables in that main vbogram template were stretching my page about 40 pixels too wide. It also looked to cluttered having 2 additional tables in there when they didn't need to be so I did my best to make it blend better with the rest of the vBulletin style layout. In my opinion it's much cleaner :)

HTML Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle] ~ $vboptions[vbt_name] - powered by vBulletin</title>
$headinclude
</head>
<body>
$header
$navbar


<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
        <td class="tcat" colspan="2">
                        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
                        <tr>
                               

                        <td class="vbmenu_control" id="imagepics">
                          <div align="center"><a href="#goto_imagepics">$vbphrase[vbog_more_pics]</a>
                              <script type="text/javascript"> vbmenu_register("imagepics"); </script>
                            </div></td>
            <td class="tcat" colspan="2">
                        <strong><span class="normalfont"><center>$welcometitle<center></span></strong>
                </td>
                       
                        <td class="vbmenu_control" id="flashpics">
                          <div align="center"><a href="#goto_flashpics">$vbphrase[vbog_flash_fun]</a>
                              <script type="text/javascript"> vbmenu_register("flashpics"); </script>
                            </div></td>
                        </tr>
                        </table>

                <!-- thread tools menu -->
                <div class="vbmenu_popup" id="imagepics_menu" style="display:none">
                <table cellpadding="4" cellspacing="1" border="0">
                $thisimageis
                </table>
                </div>

                <div class="vbmenu_popup" id="flashpics_menu" style="display:none">
                <table cellpadding="4" cellspacing="1" border="0">
                $thisflash
                </table>
                </div>       
                               

        </td>
  </tr>
  <tr>
        <td class="thead">Please completely fill out the form.</td>
</tr>
        <tr>
                <td height="264" align="center" class="panelsurround">
                <form action="vb_o_gram.php" name="vbform" method="post"<if condition="!is_browser('webtv')"> onsubmit="return validatePost(this, 0, $vboptions[postminchars], $vboptions[postmaxchars]);" onreset="vB_RESET(this);"</if>>
        <input type="hidden" name="do" value="sendogram" />
        <input type="hidden" name="s" value="$session[sessionhash]" />
        <input type="hidden" name="imageid" value="$getimage[vbogram_imgid]" />
                <div class="panel">
                <div style="width:$stylevar[formwidth]" align="$stylevar[left]">

                        <fieldset class="fieldset">
                                <legend><b>$getimage[title]</b></legend>
                                <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" align="center">
                                <tr>
                                        <td>
                                                $picbit
                                        </td>
                                </tr>
                                </table>
                        </fieldset>               
                       
                        <fieldset class="fieldset">
                                <legend>$vbphrase[vbog_sender_name]</legend>
                                <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                                <tr>
                                        <td>
                                                <input type="text" name="sender" size=40 value="$bbuserinfo[username]" />
                                        </td>
                                </tr>
                                </table>
                        </fieldset>

                        <fieldset class="fieldset">
                                <legend>$vbphrase[vbog_sender_email]</legend>
                                <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                                <tr>
                                        <td>
                                                <input type="text" name="senderemail" size=40 value="$bbuserinfo[email]" />
                                        </td>
                                </tr>
                                </table>
                        </fieldset>

                                                <fieldset class="fieldset">
                                <legend>$vbphrase[vbog_recievers_name]</legend>
                                <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                                <tr>
                                        <td>
                                                <input type="text" name="receivername" size=40 value="" />
                                        </td>
                                </tr>
                                </table>
                        </fieldset>
                       
                                                <fieldset class="fieldset">
                                <legend>$vbphrase[vbog_send_to_email]</legend>
                                <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                                <tr>
                                        <td>
                                                <input type="text" name="sendtoemail" size=40 value="" />
                                        </td>
                                </tr>
                                </table>
                        </fieldset>       
                       
                        <fieldset class="fieldset">
                                <legend>$vbphrase[message]</legend>
                                <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                                <tr>
                                        <td>                                               
                                                <!-- WYSIWYG  / non WYSIWYG posting box -->
                                                $messagearea
                                                <!-- end WYSIWYG  / non WYSIWYG posting box -->
                                        </td>
                                </tr>
                                </table>
                        </fieldset>
               

                </div>
                </div>
       
                <div style="margin-top:$stylevar[cellpadding]px">               
                        <center><input type="submit" class="button" name="addeditform" value="$vbphrase[send]" accesskey="s" tabindex="4" />&nbsp;&nbsp;&nbsp;<input type="reset" class="button" name="reset" value="$vbphrase[reset_fields]" accesskey="r" /></center>               
                </div>
        </td>
</tr>
</form>
</form>
</table>
$footer
</body>
</html>


MUDERCOOL 07-18-2005 08:24 PM

oh I installed the hack, seems a very good hack thank you very much but I have a problem, I see the table is there (via php admin), although vb3_vbogram_img *is* there I get this error:

Database error in vBulletin 3.0.7:

Invalid SQL:
SELECT *
FROM vb3_vbogram_img
WHERE active = 1
ORDER BY RAND() DESC LIMIT 1

mysql error: Table 'mesajtah_dannke.vb3_vbogram_img' doesn't exist

mysql error number: 1146

Date: Monday 18th of July 2005 05:03:40 PM
Script: http://www.mesajtahtasi.com/davlumbaz/vb_o_gram.php?
Referer: http://www.mesajtahtasi.com/davlumba...ad.php?p=33820
Username: MUDER [The One]
IP Address: 85.101.118.249

yoyoyoyo 08-04-2005 03:37 AM

Quote:

Originally Posted by yoyoyoyo
I agree- this is very odd. The text input box works fine in IE, but Firefox will not allow me to put any text in to the text area. Any ideas Trafix?

has anyone come up wirh a fix for this error? I can only get this to work with the standard editor- the wysiwyg editor give me a blank edit area that I can't click or type in.

kooley2 04-01-2007 11:30 PM

This looks to be a really great hack!

Does anyone know if there is any plans to upgrade or develop this for VB 3.6?

Thx in advance!!!


All times are GMT. The time now is 03:29 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01244 seconds
  • Memory Usage 1,783KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete