![]() |
Widget: last articles blogs in CMS - by omardealo
1 Attachment(s)
Peace and mercy of God be upon you
Widget: last articles blogs in CMS - by omardealo tested on 4.0.2 God willing, also was working on 4.0.1 Programming: omardealo 7-secret.org Image: http://www.7-secret.org/attachment.p...1&d=1269912703 Example: arabic : http://www.7-secret.org english : http://www.7-secret.org/content.php?language=en Code1: Source code for the latest blogs related to a specific username PHP Code:
PHP Code:
PHP Code:
Code2: Source code for the latest articles blogs for all user PHP Code:
PHP Code:
Composition: Goto Admincp->vBullietin CMS->Widgets->Create New Widget Choose PHP Direct Execution as Widget's Type Place a Title. last articles blogs Click Save Click Configure on the right of the new created widget. Remove the default code that appears. Be sure to not leave behind even a single letter. Copy and Paste the code that you can find below. Leave the template name as is (vbcms_widget_execphp_page) Click Save Goto Admincp->vBullietin CMS->Layout Manager Click Go on the Default Layout Add the Widget to your Layout Click Save Source: http://www.7-secret.org/showthread.php?t=326 hack in arabic - الهاك باللغة العربية: http://www.7-secret.org/showthread.php?t=325 May God help you do not forget to pray for me and my parents back of the unseen |
i have a sql error tatabase nam don't exist
chokrane akhi |
Quote:
code1 u must replace omardealo to username in ur forum |
code 2
|
PHP Code:
IOW, it's asking for a table called "mydatabasename.vb" which doesn't exist - the only reference to 'mydatabasename' is the database itself, not one of the tables within the database. |
i have the same problem
|
Quote:
Quote:
try this PHP Code:
|
Quote:
PHP Code:
Whereas previously (using code2) it would ask for a table called "my_database_name.vb" it now asks for a table, which also does not exist, called "my_database_name.blog" |
Quote:
PHP Code:
so I do not know from where comes the name of the table "my_database_name.blog" if u use tableprefix in config.php this code will work with u well PHP Code:
|
Well I do appreciate your efforts, but even a direct copy & paste still kills my d/b, resulting in errors when using this widget.
PHP Code:
|
OK, I've just deleted the widget completely and started fresh from scratch - and it still causes D/B errors.
PHP Code:
|
I also can not explain the error, the error The table does not exist
Now I want to know what the names of the tables you have, start for example by vb_ PHP Code:
|
Got the same error.
Solved it, with deleting of one space between blog and the ". Sorry for my bad english :D Here is the (for me working) code: PHP Code:
|
Quote:
|
Any chance to see this cool mod updated for vb4.2+ ?
Thank you for considering this :) |
Quote:
Thank you Exador |
All times are GMT. The time now is 05:50 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|