vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   VBcheats (https://vborg.vbsupport.ru/showthread.php?t=107305)

bashy 02-26-2006 05:32 PM

Brilliant m8 thank you, this will help me a lot, will make them work now :)


Quote:

Originally Posted by micheal332001
Hi there

Yes this is posible and i will sort it out for you in a min as it should not take long.

No worries m8, I hate it when peeps slate others hard work, I dont think
they fully understand what goes into a hack whether it be big or small..
I aint got a clue my self but i can guess lol

Quote:

Originally Posted by micheal332001
Thanks for saying this to Smiry Kin's
All my hacks have been tested in IE and firefox so if you are having a problem
Smiry Kin's and need help dont say bad things to get help ask nicely and you will get help.
I spend about 5 hours aday making hacks for vb i have about 5 other prodjects that im working on and they are all free versions then i remake them to make them better.


Smiry Kin's 02-26-2006 08:56 PM

Quote:

Originally Posted by bashy
UH???
This works perfectly in both...

See image for FF view

It aint polite to slate somones work just because you cant get it to work!!
These peeps dont have to submit hacks for free and also give a support
service for free.....give him a break... :disappointed:

Nice it works for you.

so how do i remove that crappy flash bit that doesnt work for me.

micheal332001 02-26-2006 10:45 PM

Quote:

Originally Posted by Smiry Kin's
Nice it works for you.

so how do i remove that crappy flash bit that doesnt work for me.

goto your styles manager and look for the template called

vbcheats_home you will see this code

PHP Code:

 <table cellpadding="0" cellspacing="1" border="0" width="100%" align="center">
 <
tr>
 <
td align="left" style="text-align: left;">
 <
br />
    <
table width="100%" class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" align="left">
     <
tr>
        <
td class="tcat">VBcheats Main</td>
     </
tr>
     <
tr>
      <
td class="alt1" align="center"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="556" height="307.9">
        <
param name="movie" value="images/vbcheats/vbcheatsintro.swf">
        <
param name="quality" value="high">
        <
embed src="images/vbcheats/vbcheatsintro.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="556" height="307.9"></embed>
      </
object>
      </
td>
     </
tr>
    </
table>
   </
td>
 </
tr>
 
 </
table

Find this

PHP Code:

 <tr>
      <
td class="alt1" align="center"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="556" height="307.9">
        <
param name="movie" value="images/vbcheats/vbcheatsintro.swf">
        <
param name="quality" value="high">
        <
embed src="images/vbcheats/vbcheatsintro.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="556" height="307.9"></embed>
      </
object>
      </
td>
     </
tr

replace it like this

PHP Code:

 <tr>
      <
td class="alt1" align="center">
What ever you want to put here
      
</td>
     </
tr

This will take out the flash movie from your main page.

bashy 02-27-2006 06:29 PM

Any luck with this add on m8?


Quote:

Originally Posted by micheal332001
Hi there

Yes this is posible and i will sort it out for you in a min as it should not take long.


micheal332001 03-07-2006 05:24 PM

Quote:

Originally Posted by bashy
Any luck with this add on m8?

Hi there

Sorry i have not been able to sort this as yet but i have had problems with my internet connection.
I hope to sort this out in the next few days or so for you.

bashy 03-10-2006 08:48 AM

Sorry m8 me been in scotland climbing, only just got back....

Will look forward to it :)
thanks

micheal332001 03-19-2006 06:06 PM

Quote:

Originally Posted by bashy
Sorry m8 me been in scotland climbing, only just got back....

Will look forward to it :)
thanks

Hi m8

Here is how to add the options for your mods

Open modcp/index.php

Find

PHP Code:

if (can_moderate(0'canannounce')) 

Above that

PHP Code:

// *************************************************
 
if (can_moderate(0'vbcheats_can_mod_cheats'))
 {
  
construct_nav_option($vbphrase['view_unapproved_cheats'], 'vbcheats_modcp.php?do=unapproved');
  
construct_nav_option($vbphrase['view_categorys'], 'vbcheats_modcp.php?do=categorys');
  
construct_nav_option($vbphrase['view_cheats'], 'vbcheats_modcp.php?do=viewcheats');
  
construct_nav_group($vbphrase['vbcheats']);
  
construct_nav_spacer();
 } 

You will need to add these phrases as well

view_unapproved_cheats = unapproved cheats
view_categorys = Categories
view_cheats = View Cheats


Then download this file and upload it to modcp folder

bashy 03-19-2006 06:11 PM

Cheers for that,
I have done the edit and uploaded but i aint seeing it in there?

EDIT: it is there but its a ver small box lol

micheal332001 03-19-2006 06:35 PM

Quote:

Originally Posted by bashy
Cheers for that,
I have done the edit and uploaded but i aint seeing it in there?

EDIT: it is there but its a ver small box lol


You have not done this

You will need to add these phrases as well

view_unapproved_cheats = unapproved cheats
view_categorys = Categories
view_cheats = View Cheats

bashy 03-19-2006 06:36 PM

they wernt there were there ;) pmsl...i didnt see them
You just added them lol

Im on it now m8....Thanks again


EDIT:
All sorted m8 tank you for this, will take some of the work load off myself :)
Thanks again


All times are GMT. The time now is 01:08 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.01167 seconds
  • Memory Usage 1,775KB
  • 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
  • (5)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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