Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
  #1  
Old 08-19-2003, 05:35 PM
pogo4000 pogo4000 is offline
 
Join Date: Feb 2003
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default need this

i know this hack was made but dont know what to search for im looking for this http://www.wiredgamers.com/index.php?s= the hack so i can made a cat. like there Gaming Confabulation with the same layout like that with posts and name

thanks
Reply With Quote
  #2  
Old 08-20-2003, 02:29 AM
wolfe wolfe is offline
 
Join Date: Jan 2002
Posts: 900
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well heres the hakc you just need to mess about with the templates

https://vborg.vbsupport.ru/showthrea...threadid=41529
Reply With Quote
  #3  
Old 08-20-2003, 11:55 AM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1. Make sure you installed Xenons hack:
https://vborg.vbsupport.ru/showthrea...threadid=41529

2. Run this query:
[SQL]ALTER TABLE forum ADD forumimg VARCHAR(100) NOT NULL AFTER displayorder[/SQL]

3. Open admin/forum.php, find:
PHP Code:
  makeforumchooser("parentid",$parentid,-1,"","No one"); 
Add under:
PHP Code:
  makeinputcode("Forum Image</i><br>(your default images folder is added)","forumimg"); 
Find:
PHP Code:
countposts
Replace with
PHP Code:
countposts,forumimg
Find:
PHP Code:
'$countposts'
Replace with:
PHP Code:
'$countposts','$forumimg'

Find:
PHP Code:
maketableheader("Moderation Options"); 
Add above:
PHP Code:
  makeinputcode("Forum Image</i><br>(your default images folder is added)","forumimg",$forum[forumimg]); 
Find:
PHP Code:
moderateattach='$moderateattach' 
Replace with:
PHP Code:
moderateattach='$moderateattach'forumimg='$forumimg' 
Save forum.php

Open up root/index.php
Find:
PHP Code:
          if ($userlastvisit<$forum['lastpost']) {
            
$forum['onoff']='on';
          } else {
            
$forum['onoff']='off';
          }
        } 
After add:
PHP Code:
if ($forum['forumimg']) {
  eval(
"\$forumimg = \"".gettemplate('forumhome_forumimg')."\";");
}
else {
  
$forumimg '';

Add template 'forumhome_forumimg'
Code:
<img src="{imagesfolder}/$forum[forumimg]" border="0" alt="">
[high]Remove spaces[/high]

Open up template 'colforumbit'
Find:
Code:
          <a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont><b>$forum[title]</b></normalfont></a>
	</td>
Replace with:
Code:
          <a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont><b>$forum[title]</b></normalfont></a><br />$forumimg
	</td>
Untested, should work
Reply With Quote
  #4  
Old 09-14-2003, 03:20 PM
Blindchild02's Avatar
Blindchild02 Blindchild02 is offline
 
Join Date: Apr 2002
Location: USA
Posts: 741
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

uhhh i did it.. lol and where do i edit the picture? :|
Reply With Quote
  #5  
Old 09-14-2003, 03:28 PM
Blindchild02's Avatar
Blindchild02 Blindchild02 is offline
 
Join Date: Apr 2002
Location: USA
Posts: 741
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok. well it only works when u ADD a forum, and u cant even edit it... :|
Reply With Quote
  #6  
Old 09-14-2003, 04:03 PM
Hogwarts
Guest
 
Posts: n/a
Default

umm ... what's the url I should put in the thing? everything I try I get a RED X? I have tired

http://hogwarts.enterxment.com/forum...s/Hogwarts.jpg

forumicons/Hogwarts.jpg

/forumicons/Hogwarts.jpg

Hogwarts.jpg

/Hogwarts.jpg

I just can't get this to work ... any ideas people?


- Hogwarts
Reply With Quote
  #7  
Old 09-14-2003, 06:52 PM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

blindchild02;
This does work for Edit and Add for forum. You must have installed incorrectly

Hogwarts;
Since the src in the img tag is already linked to imagesfolder, you should just add the file name + ext.
If its in a sub folder of the images, do something like foldername/filename.ext
Reply With Quote
  #8  
Old 09-14-2003, 07:45 PM
Blindchild02's Avatar
Blindchild02 Blindchild02 is offline
 
Join Date: Apr 2002
Location: USA
Posts: 741
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok i tried it again. now when i try to edit the image path... i get this..

Database error in vBulletin Control Panel 2.3.2:

Invalid SQL: UPDATE forum
SET
styleid='1', title='2D Graphics', description='Show off your 2D Work',
active='1', displayorder='1', parentid='19', parentlist='20,19,-1',
allowposting='1', cancontainthreads='1', daysprune='0',
newpostemail='', newthreademail='',
moderatenew='0', allowhtml='0', allowbbcode='1',
allowimages='1', allowsmilies='1', allowicons='1',
styleoverride='0', allowratings='1', countposts='1','2d_test.gif',
moderateattach='0', forumimg='2d_test.gif'
WHERE forumid='20'
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ''2d_test.gif',
moderateattach='0', forumi

mysql error number: 1064

Date: Sunday 14th of September 2003 09:46:40 PM
Script: http://www.xamira.net/forums/forums/admin/forum.php
Referer: http://www.xamira.net/forums/admin/f...dit&forumid=20
Reply With Quote
  #9  
Old 09-14-2003, 07:49 PM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Blindchild02
ok i tried it again. now when i try to edit the image path... i get this..

Database error in vBulletin Control Panel 2.3.2:

Invalid SQL: UPDATE forum
SET
styleid='1', title='2D Graphics', description='Show off your 2D Work',
active='1', displayorder='1', parentid='19', parentlist='20,19,-1',
allowposting='1', cancontainthreads='1', daysprune='0',
newpostemail='', newthreademail='',
moderatenew='0', allowhtml='0', allowbbcode='1',
allowimages='1', allowsmilies='1', allowicons='1',
styleoverride='0', allowratings='1', countposts='1','2d_test.gif',
moderateattach='0', forumimg='2d_test.gif'
WHERE forumid='20'
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ''2d_test.gif',
moderateattach='0', forumi

mysql error number: 1064

Date: Sunday 14th of September 2003 09:46:40 PM
Script: http://www.xamira.net/forums/forums/admin/forum.php
Referer: http://www.xamira.net/forums/admin/f...dit&forumid=20
If user.php has been edited very little times, upload a unhacked version and try again. It worked perfect for me
Reply With Quote
  #10  
Old 09-14-2003, 07:54 PM
Blindchild02's Avatar
Blindchild02 Blindchild02 is offline
 
Join Date: Apr 2002
Location: USA
Posts: 741
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

user.php hasnt been edited At All

wouldnt it be a problem with forum.php??
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:49 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05629 seconds
  • Memory Usage 2,273KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_code
  • (12)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (9)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete