vBulletin Modifications

SA FXP review addon (need help)

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > vBulletin Modification Requests

Reply
 
LinkBack Thread Tools
Old 09-14-2005, 10:11 AM   #1
Coder
Join Date: Jun 2004
Location: England
infinityfxp is on a distinguished road

Talking SA FXP review addon (need help)

i tryed to do this review addon but having problems can anyone fix this or guide me in some way please

thanks in advanced

problem is that it kills the race lockdown and shows this insted.
but when posted it leaves an aray behind cos ftp has not been filled in



it will look like imdb / gamespot hack with a scan box bellow

with a bot to fill in release name and nfo to be filled on its own box

so really the board would be better than nforce this would be easyer to do through rss feeds as there is a feed for eatch section and easyer to split

image posted l8r
thanks

phrases to run

fxppack_lockdown_review - Review Name
fxppack_lockdown_thanksreview - Thank you for your Review on this title.
----------------
quarys to run :-
----------------

INSERT INTO ". TABLE_PREFIX ."phrase (languageid, varname, text, phrasetypeid) VALUES(0, 'fxppack_enable_review_lockdown_in_this_forum', 'Use Review Lockdown in this Forum?', 1)
);

ALTER TABLE ". TABLE_PREFIX ."user ADD `review` smallint(6) NOT NULL default '0'

INSERT INTO ". TABLE_PREFIX ."phrase (languageid, varname, text, phrasetypeid) VALUES(0, 'fxppack_review', 'Reviews:', 1)
;

CREATE TABLE `reviewdata` (
`threadid` int(10) unsigned NOT NULL default '0',
`reviewmessage` text NOT NULL,
PRIMARY KEY (`threadid`));

---------------------------------
templates:
fxppack_showthread_lockdedreview
---------------------------------
You must first be a registered member to view any code.
----------------------------
fxppack_new_review
---------------------------
You must first be a registered member to view any code.
---------------------
fxppack_show_review
You must first be a registered member to view any code.
-----------------------------------------------------------------------------------------------
admincp/forum.php-------------------------------------------------------------------------
find:------------------------------------------------------------------------------------------
You must first be a registered member to view any code.
----------------------------------------------------------------------------------------------
add under:----------------------------------------------------------------------------------
You must first be a registered member to view any code.
-----------------------------------------------------------------------------------------------
find:------------------------------------------------------------------------------------------
You must first be a registered member to view any code.
------------------------------------------------------------------------------------------------
addunder:------------------------------------------------------------------------------------
You must first be a registered member to view any code.
-----------------------------------------------------------------------------------------------


/includes/functions_newpost.php:---------------------------------------------------------
find:------------------------------------------------------------------------------------------
You must first be a registered member to view any code.
replace:--------------------------------------------------------------------------------------
You must first be a registered member to view any code.
find:------------------------------------------------------------------------------------------
You must first be a registered member to view any code.
addunder:-----------------------------------------------------------------------------------
You must first be a registered member to view any code.
/includes/functions_databuild.php----------------------------------------------
find:
You must first be a registered member to view any code.
addunder:------------------------------------------------------------------------
You must first be a registered member to view any code.
/includes/functions_init.php:----------------------------------------------------
find:
You must first be a registered member to view any code.
addunder:
You must first be a registered member to view any code.
double last number
/editpost.php:--------------------------------------------------------------------

find:-------------------------------------------------------------------------------
You must first be a registered member to view any code.
addunder:
You must first be a registered member to view any code.
find:------------------------------------------------------------------------------
You must first be a registered member to view any code.
addunder:----------------------------------------------------------------------
You must first be a registered member to view any code.
find:-------------------------------------------------------
You must first be a registered member to view any code.
addunder:------------------------------------------------------
You must first be a registered member to view any code.
newthread.php

find:------------------------------------------------------------------------
You must first be a registered member to view any code.
addunder:------------------------------------------------------------------
You must first be a registered member to view any code.
find:------------------------------------------------------------------------
You must first be a registered member to view any code.
addunder:-----------------------------------------------------------------------------------

You must first be a registered member to view any code.
-----------------
find:
You must first be a registered member to view any code.
-------
add under:
You must first be a registered member to view any code.
./ShowThread.php
find:----------------------------------------------------------------------------
You must first be a registered member to view any code.
replace:-------------------------------------------------------------------------
You must first be a registered member to view any code.
find:------------------------------------------------------------------------------
You must first be a registered member to view any code.
addunder:--add twice----------------------------------------------
You must first be a registered member to view any code.
__________________
:alien: a post in need is a post indeed :alien:

Last edited by infinityfxp; 09-16-2005 at 03:03 PM.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 09-14-2005, 11:03 AM   #2
Advanced Coder
Niels's Avatar
Join Date: Jun 2004
Real Name: Niels
Location: NL
Niels is on a distinguished road

Default

Sorry to say but your post is really messy, please first say or attach a screenshot what this hack should be. Then just say what isn't working on the code you made. ^^




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-14-2005, 11:11 AM   #3
Coder
Maxx's Avatar
Join Date: Sep 2004
Location: U.K
Maxx is on a distinguished road

Default

seems like you also have alot of template calls which most likely can be acheived with just one and most of the code would easily migrate with the existing using less querys if put in correct places.

ill take proper look at it when i have spare few mins and somewhere to try it ;)




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-15-2005, 05:05 AM   #4
Coder
Join Date: Jun 2004
Location: England
infinityfxp is on a distinguished road

Default

and if i take this line out it all jumps back fine as it was

if ($foruminfo['reviewlockdown'])
{
eval('$lockdown = "' . fetch_template('fxppack_new_review') . '";');
}

somewere the release is bound to race may be through the flag thought as all the code uses it,


the reply box was going to be for torrents,just to do a loacal search and bring back the last releases.
with a thanks bot with showtorrent insted of thanks




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SA's Fxp Pack Music Addon DarkRider vBulletin Modification Requests 5 08-11-2005 07:14 AM


All times are GMT -3. The time now is 01:17 AM.


SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)