Header Ct-Solutions

***HOTNEWS*** The development of AION Emulator and support was moved to aion-core.net *** Der AION Emulator Entwicklung und support, werden wir auf aion-core.net weiter betreuuen ***

Forum Left Top

vBulletin 3.xx & 4.xx Jelsoft Enterprises Ltd.

Server-Works eGallery

Antwort
 
Themen-Optionen Ansicht
#1
Alt 03.05.2011
webmaster
Administrator
UserID: 1
 
Registriert seit: 23.02.2006
Ort: HOG
Beiträge: 7
Renommee-Modifikator: 10webmaster hat die Renommee-Anzeige deaktiviert
iTrader: (0)
webmaster eine Nachricht über Skype™ schicken
Standard Photopost & vBulletin Futured

I'd like to integrate all of Photopost's products, especially Photopost v4.8.5 with vBulletin v3.0.3, without running amok with all kinds of errors and problems that other users, myself included, are experiencing.

Since there are a lot of users asking the same kind of questions over and over concerning this subject, I think that the documentation is not explained quite clearly, i.e. the infamous PP_PATH error. The author assumes that everybody installs vBulletin at the root of the server while in reality, very few do.

Using my case as an illustration. I'd like to install both programs' databases separately (trying to keep everything simple).

MySQL Databases:
-------------------------------------------------
Photopost : mydomain_photo (dbprefix: pp_ )
vBulletin : mydomain_vbb (dbprefix: vb3_ )
--------------------------------------------------

Paths:
-------------------------------------------------
Photopost : /home/mydomain/public_html/photopost
vBulletin : /home/mydomain/public_html/vbulletin
--------------------------------------------------

URL Paths:
--------------------------------------------------
Photopost : [Only registered and activated users can see links. ]
vBulletin : [Only registered and activated users can see links. ]
--------------------------------------------------

Zitat:
Assuming you have already configured your config-int.php file, you can modify the first section in inc_photopost.php and inc_features.php to customize your layout. Follow the instructions in the Configuration section for any options which you can set.

If you have PhotoPost and vB in different databases, you'll need to scroll to the bottom of the script and uncomment the mysql_select_db() command (on line 26) and insert your vB database name and uncomment the mysql_select_db on line 310 and add your vB3 database in quotes.
1.A/ In my case, should I uncomment (from the file inc_photopost.php) the mysql_select_db() command (line 26?), insert mydomain_vbb (where ?, which line #?), and uncomment the mysql_select_db on line 310 and add mydomain_vbb in quotes ?

Zitat:
// If you have placed PhotoPost into a seperate database, you will need to
// uncomment these lines to connect to the PhotoPost database. It is suggested
// that you install PP into the same database as vB for better performance.
//
// If you use the same userid/password to access both databases, you don't need to
// uncomment the mysql_connect - this is only if you require different ids to access
// the PhotoPost database.
//
//$link = mysql_connect ("localhost", "$dbuserid", "$dbuserpassword") or die('I cannot connect to the database.');
//mysql_select_db ("pp_database")or die("Could not select photopost database");
1.B./ What do I do with the file inc_features.php ? Need I edit something in this file, i.e. insert mydomain_vbb somewhere ?

In your vB index.php file, you will need to add two lines under under these four:

// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
require_once('./includes/functions_bigthree.php');
require_once('./includes/functions_forumlist.php');
include('./photopost/inc_features.php');
include('./photopost/inc_photopost.php');

2.A./ Should I modify the 2 additions to something as shown below:
include('/home/mydomain/public_html/photopost/inc_features.php');
include('/home/mydomain/public_html/photopost/inc_photopost.php');

Zitat:
In your vB templates, select Forum Home Templates and edit the FORUMHOME template.

To include the PhotoPost "features" box, add the variable $photopostfeature to your template:

$header
$navbar
$photopostfeature
In other words, log into my vBulletin board as ADMIN, open Style Manager (under Styles & Templates), select EDIT TEMPLATES from the All Style Options, double-click Forum Home Templates, double-click FORUMHOME, locate following code:
...
</head>
<body>
$header
$navbar
.....

and ADD below 3 lines:

Code:
<!--- start insert $photopostfeature below -->
 $photopostfeature
 <!--- end insert $photopostfeature -->
then, from the same template FORUMHOME, go down few lines, and locate following code:
<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
...

and ADD below 5 lines:

Code:
<!--- start insert $photopostcats below -->
 <br />
 $photopostcats
 <br />
 <!--- end insert $photopostcats -->
so that, your modified template FORUMHOME would look like below:
...

Code:
</head>
 <body>
 $header
 $navbar
 <!--- start insert $photopostfeature below -->
 $photopostfeature
 <!--- end insert $photopostfeature -->
 <!-- main -->
 <!--- start insert $photopostcats below -->
 <br />
 $photopostcats
 <br />
 <!--- end insert $photopostcats -->
 <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
 ...
3.A./ Is my work done after I've completed all these tasks, assuming that I have entered info correctly into the file config-int.php ?

3.B./ Need I modify the header-inc.php file ?

3.C./ What's the difference between Data virtual path and Server path OR they're the same, i.e. /home/mydomain/public_html/photopost/data ?
Angehängte Dateien
Dateityp: zip futured_pp.zip (4,4 KB, 3x aufgerufen)
webmaster ist offline   pm.gif Mit Zitat antworten
Antwort

Bookmarks


Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
 
Themen-Optionen
Ansicht

Forumregeln
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 An
Smileys sind An.
[IMG] Code ist An.
HTML-Code ist Aus.

Gehe zu



Forum Right Top
Forum Left Bottom Forum Right Bottom
 
Right Left
Member Login
Forgot password?




Forum LeftForum Right


Forum Statistics:
Forum Members: 926
Total Threads: 36
Total Posts: 104
There are 3 users
currently browsing forums.
Forum LeftForum Right


Rent Your Advertisment BOX
Contact:Webmaster
Forum LeftForum Right




My Aion F2Play Toplist

Forum Sponsor:
Web Solutions
Forum LeftForum Right
Right Right
Right Bottom Left Right Bottom Right

My Aion F2Play Toplist