![]() |
rewrite 3.0.3 code to 3.8.2
Hello i have a php file on an old forum 3.0.3 and i wan't to upgrade the forum to 3.8.2 but on the testing server the php file won't run.
i searched a bit, but in 3.8.2 there is no PHP Code:
below the whole code is there. edit by Lynne: code removed |
nobady who could help me with this
|
I saw in you thread that you are doing it. Now, I am busy doing some jobs, when I finish I will help you. Or if you are hurry, you can post in Requests For Paid Services
Change $DB_site to $db |
i hade do some rewriting already done ,the $db_site i translated in stuf i translated $vbulletin->db.
$post do i need to translate that ? |
Is this code you wrote yourself? If not, you can't post it here without permission from the author.
|
i wish i had write this peace of code.
the code is i think from here https://vborg.vbsupport.ru/showthread.php?t=68419 i found this gallery file on the server i currently administrate. the author i can't reach his website is out of order. what could i do next to contact him ? when it is still "illigal" then this thread should be closed and removed :( |
I removed the code from the first post.
It is fine if you want to hire someone to change the code for use on your own site, but since the author didn't give permission for the code to be 'reused' or for you to post it anywhere, then you can't just post the code here. The coder hasn't been here for over eight months, so I'm guessing he isn't going to be checking for PMs here. |
what is wrong with this peace of code
Code:
$sorturl = "gallery.php?&userid=$userid&pp=$perpage&showthumbs=$showthumbs"; i'm thinking of what arguments are missing. i get two errors. Warning: Missing argument 3 for construct_page_nav() in [path]/includes/functions.php on line 2410 Warning: Missing argument 4 for construct_page_nav() in [path]/includes/functions.php on line 2410 |
Take a look at the API for construct_page_nav. You need 4 arguments. http://members.vbulletin.com/api/
|
thanks lynne, i bookmarked it.
is the code from 3.7.x the same as 3.8.x ? --------------- Added [DATE]1241462539[/DATE] at [TIME]1241462539[/TIME] --------------- what do $show en $post mean, i can't find a manual about these 2 things |
All times are GMT. The time now is 11:31 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|