vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBadvanced CMPS (https://vborg.vbsupport.ru/forumdisplay.php?f=101)
-   -   vBadvanced CMPS - Old Support Thread (https://vborg.vbsupport.ru/showthread.php?t=73845)

SamirDarji 10-03-2004 10:24 AM

Check your paths to your images files...

jpt62089 10-03-2004 11:35 PM

I think i know what i am going to do!

do any of you know how to make .htaccess files?

I need to have this:

DirectoryIndex home.php

but just tcforums.net and not any of my sub domains... is this possible?

frage 10-04-2004 01:54 PM

my prob:

Quote:

Datenbankfehler in vBulletin 3.0.3:

Ungueltige SQL-Abfrage:
SELECT
userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid,
language.phrasegroup_calendar AS phrasegroup_calendar,
language.phrasegroup_adv_portal AS phrasegroup_adv_portal,
language.phrasegroup_postbit AS phrasegroup_postbit,
language.phrasegroup_global AS phrasegroup_global,
language.options AS lang_options,
language.languagecode AS lang_code,
language.charset AS lang_charset,
language.locale AS lang_locale,
language.imagesoverride AS lang_imagesoverride,
language.dateoverride AS lang_dateoverride,
language.timeoverride AS lang_timeoverride,
language.registereddateoverride AS lang_registereddateoverride,
language.calformat1override AS lang_calformat1override,
language.calformat2override AS lang_calformat2override,
language.logdateoverride AS lang_logdateoverride,
language.decimalsep AS lang_decimalsep,
language.thousandsep AS lang_thousandsep
FROM user AS user
LEFT JOIN userfield AS userfield ON (user.userid = userfield.userid)
LEFT JOIN usertextfield AS usertextfield ON (usertextfield.userid = user.userid)
INNER JOIN language AS language ON (language.languageid = IF(user.languageid = 0,
1, user.languageid))
WHERE user.userid = 1

mysql error: Unknown column 'language.phrasegroup_adv_portal' in 'field list'

can you help me?
thanks
frage

3DChipset 10-05-2004 03:06 PM

I was wondering... Where can I find just the "News Posting" section? This hack is cool, but all I need right now is the News portion. Where can I find that so I can add it to my own code for my news page?

frage 10-05-2004 06:09 PM

1.
create a _news_ forum in your forum via admincp
and in the admincp you will find the ID of this _news_ forum example 10
2.
in the
vba cmps
default you will find:
News Forum ID
The ID number of your default news forum. To display threads from more than one forum, enter a list of forumids seperated by commas. Example setting: 1,4,9
yours is "10"
thats all

3DChipset 10-05-2004 06:35 PM

I think you mis-read or maybe I didn't type it correctly. Basically what I'm doing is trying to get the "News Information" off of the cmps_index.php file. So I can use that code and put it in my own .php so it's custom taylored to my specific look of the site. I probably could find the appropriate tags, but on the top of the .php file I'm using what would I need to put up there so it would know that I'm reading off of the news forum?

h75 10-06-2004 09:49 AM

Hollii clicks Install :up:

http://halloo.de/portal.php

h75 10-06-2004 11:13 AM

i had an mysql-error in portal.php :ermm:

I changed News Forum ID and forgot to delete the , and clicked Save

Quote:

2,4,5,
I went back, deleted the , and everything is okay :surprised:

Now the Error:
Quote:

Datenbankfehler in vBulletin 3.0.3:

Ungueltige SQL-Abfrage:
SELECT IF(votenum >= 1, votenum, 0) AS votenum, IF(votenum >= 1 AND votenum != 0, votetotal / votenum, 0) AS voteavg,
thread.threadid, thread.title, replycount, postusername, postuserid, thread.dateline AS postdateline, thread.lastposter, thread.lastpost, IF(views<=replycount, replycount+1, views) AS views, forumid, post.postid, pagetext, allowsmilie

,thread.iconid AS threadiconid, iconpath AS threadiconpath
, avatarpath, NOT ISNULL(avatardata) AS hascustom, customavatar.dateline AS avatardateline, avatarrevision
, NOT ISNULL(subscribethread.subscribethreadid) AS subscribed
, attachment.filename, attachment.filesize, attachment.visible, attachmentid, counter, thumbnail, LENGTH(thumbnail) AS thumbnailsize
FROM thread AS thread
LEFT JOIN post AS post ON (post.postid = thread.firstpostid)
LEFT JOIN icon USING (iconid)
LEFT JOIN attachment AS attachment ON (post.postid = attachment.postid)
LEFT JOIN user AS user ON (user.userid = post.userid)



LEFT JOIN avatar as avatar ON (avatar.avatarid = user.avatarid)
LEFT JOIN customavatar as customavatar ON (customavatar.userid = user.userid)

LEFT JOIN subscribethread AS subscribethread ON (subscribethread.threadid = thread.threadid AND subscribethread.userid = '1')
LEFT JOIN deletionlog AS deletionlog ON (thread.threadid = deletionlog.primaryid AND type = 'thread')
WHERE forumid IN(2,) AND thread.visible = 1 AND thread.open != 10 AND deletionlog.primaryid IS NULL
GROUP BY post.postid
ORDER BY postdateline DESC
LIMIT 6
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 ') AND thread.visible = 1 AND thread.open != 10 AND deletionlog.

mysql error number: 1064

Datum: 06.10.2004 13:51:44
Skript: http://halloo.de/portal.php?
Referer:
Benutzername: H75
IP-Adresse: 195.24x.25x.2xx

h75 10-06-2004 02:21 PM

there is an error in templates.txt :nervous:
Code:

------------------------------------
calendar_smallmonth_day_other
------------------------------------

<!-- a single day from another month on the small calendars -->
<td class="smallfont"><em><if condition="$show['dontshowweek']">
<span class="smallfont">$day</span><else />$day</if></</em></td>

and after install in Template adv_portal_poll a </span> too much
Code:

<if condition="$bbuserinfo['usergroupid'] == 6">
<div class="smallfont">&raquo; <a href="$vboptions[bburl]/poll.php?$session[sessionurl]do=polledit&amp;pollid=$pollinfo[pollid]">$vbphrase[edit_poll]</a></div>
                        </if></span></td>
                        </tr>


DanCan 10-06-2004 05:31 PM

Quote:

Originally Posted by macker123
I seem to be getting the following error when I try to run the install script and same error when I goto my forum now:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/myphotos/public_html/forum/includes/functions.php on line 1887

I have triple checked(literally), every single piece of code I was supposed to insert and it is all correct. I have also uploaded the files twice, with 2 different FTP programs to make sure they were uploaded correctly.

Can someone please help me solve this issue.

I've run into the same problem, and I have triple checked as well.

Now, I suppose it is Dreamweaver (which I am using) that is coursing the problem. In short, Dreamweaver corrupts the functions.php file.

Instead of editing the file in Dreamweaver, I have edited the functions.php file in notepad. I cut the content of the file into notepad, changed the required line, and pasted the (new) content back to the functions.php file.
Made sure that everything was ok, saved the functions.php file and uploaded it (again).

The problem is recurring.

This is what happens:

Line 1887 is supposed to read:
$debughtml .= " (<a href=\"" . htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH, '?') '?')'?')=== false, '?', '?','?','&amp;') . "tempusage=1\">Template Usage</a>) (<a href=\"" . htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH, '?') '?')'?')=== false, '?', '?','?','&amp;') . "explain=1\">Explain</a>)<br />\n";

When I open the functions.php file again, line 1887 has suddenly been changed to:

$debughtml .= " (<a href=\"" . htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH, '?') '?')'?')'?')'?')'?')=== false, '?', '?','?','?','?','?','&amp;') . "tempusage=1\">Template Usage</a>) (<a href=\"" . htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH, '?') '?')'?')'?')'?')'?')=== false, '?', '?','?','?','?','?','&amp;') . "explain=1\">Explain</a>)<br />\n";

This is problem that seems to be pretty frequent for a lot of us. Could someone please give a clear answer to solve the problem. Or is the portal software simply incompatible with Dreamweaver?

SamirDarji 10-06-2004 05:42 PM

A good rule of thumb is to edit the php files in text-only editors. That way, there is no chance of any type of corruption. The more bare-bone the text editor, the safer. :D

DanCan 10-06-2004 06:02 PM

Thanks Samir,

I finally solved the problem.

I opened the file in Dreamweaver and then cut and past to TextEdit. But that is the wrong way.

The right way to do it is to open the php file through TextEdit (or another simple text editor), apply the changes, and then save. Then it works.

Never open the include.php file in Dreamweaver.

Thanks again.

klaattu 10-12-2004 12:28 AM

Just one quick Question before I install this.

I used to have my forum on 2.3.1 and used vbHome (lite) v4.2 then I upgraded to the last Vb 3.03 I think. Since the old vbHome (lite) v4.2 made changes to the database, can I install this hack on the new (unhacked) Vb3.0.3... (the database was upgraded to VB3 of course)

Thanks a lot

Action-N 10-12-2004 04:20 AM

Great job, I just switched from vbindex cause it didn't work work a crap an he stopped developing it. So look forward to more.

Alphagamer 10-12-2004 07:47 AM

I installed it without probs and it seems to be working ok, though I have one small problem. When I use quotes in a news-thread the layout of the cmps index page is wrecked.

Any idea why this happens?

Thanks for the help and for providing this cool hack!

SamirDarji 10-12-2004 02:11 PM

Are you using just regular quotes in the post in the thread like "so"?

Alphagamer 10-12-2004 06:29 PM

1 Attachment(s)
Quote:

Originally Posted by SamirDarji
Are you using just regular quotes in the post in the thread like "so"?

No, the problem occurs when I use the vb quote tags, like: [ QUOTE=SamirDarji]......[ /QUOTE].

I added the space so it is showed as text.

I added 2 screenshots to enlighten the problem. I don't know for sure but I think it's a probably a tag problem(since in the error screen you can see the complete right hand of the site is put inside the border of the news items with the quotes in it).

Thanks for the responses so far!

SamirDarji 10-12-2004 07:03 PM

Hmmm...it has to something in the way the news.php module handles quotes. I'd post over a vbadvanced.com. This may be an issue of some sort.

???`S?LV?R???` 10-18-2004 04:34 PM

How would I make the Column's not mimic What color/image is set for Category Strips background, but instead have it mimic what is set for Table Header background or a custom color/image background?

SamirDarji 10-18-2004 05:00 PM

Change the corresponding adv_portal templates. You need to find the html that makes the table header and put it in there instead of the category strips.

I've thought about doing the same thing, but down the road. Let me know what you come up with.

???`S?LV?R???` 10-18-2004 05:03 PM

well I've looked in some of them already and found nothing

SamirDarji 10-18-2004 05:13 PM

I'm not sure exactly then, I haven't looked into it yet. But here's what I was planning to do. Make a new template, see if I could find the html that makes up the table header and put it in there, try it with different styles to make sure it changes accordingly.

You might also find some help at vbadvanced.com

Action-N 10-19-2004 02:01 AM

Quote:

Originally Posted by ???`S?LV?R???`
How would I make the Column's not mimic What color/image is set for Category Strips background, but instead have it mimic what is set for Table Header background or a custom color/image background?

Open up the main template(adv_portal_welcomeblock) for each block. At the bottom of the template editor box there is an input box that will peform a search. Type in "tcat" an hit find, then select "tcat" and type "thead" in it's place. You'll have to do this for all the blocks/modules you are useing so make sure it's what you want before going through the trouble.

SamirDarji 10-19-2004 05:45 PM

Quote:

Originally Posted by Action-N
Open up the main template(adv_portal_welcomeblock) for each block. At the bottom of the template editor box there is an input box that will peform a search. Type in "tcat" an hit find, then select "tcat" and type "thead" in it's place. You'll have to do this for all the blocks/modules you are useing so make sure it's what you want before going through the trouble.

Thanks man! I wanted to do this too.

Oliver Szczypka 10-26-2004 03:30 PM

im getting an error saying:
Fatal error: Call to undefined function: print_portal_output() in /home/szczypka/public_html/cmps_index.php on line 27

on the portal index. what can i do?

SamirDarji 10-26-2004 09:06 PM

Is your portal installed outside of your forums? In other words, is the portal in the root, while the forums are in a sub-directory? I think I ran across the same problem, because it looks familiar.

h75 10-28-2004 11:09 PM

What ist that???? :ermm:

Quote:

Target: http://vbadvanced.com/
Please, validate your XML document first!

Line 168

Column 67

Element type "table" must be followed by either attribute specifications, ">" or "/>".
Quote:

Target: http://halloo.de
Please, validate your XML document first!

Line 5

Column 125

Element type "table" must be followed by either attribute specifications, ">" or "/>".
only on Portal

Portal: http://jigsaw.w3.org/css-validator/v...o.de/index.php
Forum: http://jigsaw.w3.org/css-validator/v...o.de/forum.php

frage 10-30-2004 01:30 PM

oh
whats that!
http://validator.w3.org/check?uri=http://vbadvanced.com

and as I have seen this , I controlled all the templates and other files and repair the html code

after many hours, more than one cup of coffee
Amaya, the official w3c.org browser shows the correct xhtml code :-)

proudly I went with my url of the portal to w3c.org and
Horror --
Line 599, column 6: entity end not allowed in end tag

</html


This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.

please whats going on?

I`m gonna be silly of that problem.


thanks a lot for help
frage

G3MM4 11-01-2004 02:47 AM

OK, this sounds like a great portal, I've installed it after editing all the files that needed to be edited (following the instructions). The problem is that when I go to www.gamehub.co.uk/index.php (I renamed the cmps_index.php to index.php and uploaded it to the public_html folder on the server), I get this error message:

Quote:

Warning: ChDir: No such file or directory (errno 2) in /home/bowser/public_html/index.php on line 19 Fatal error: Failed opening required './global.php' (include_path='.:/usr/share/pear') in /home/bowser/public_html/index.php on line 25
So what does all this mean? I made a file called info.php, and looked up the correct path and copied/pasted that into the cmps_index.php, saved then reuploaded, and I still get this error. What can I do?

camikazi2k 11-01-2004 10:20 PM

I have two problems i did all the changes i get this error
Parse error: parse error, unexpected ':' in /home/hagasny/public_html/forum/global.php on line 20
here is line 20
Find:// ################################################## ###########################

and second
it says
In your /forum/includes/adminfunctions_template.php file:
i cant find 'forumhome' => $vbphrase['group_forum_home'],

thanks

klaattu 11-03-2004 01:33 PM

1 Attachment(s)
Well some info in case someone need it>
I upgraded 2 sites from 2.3.5. with vbHome lite to Vb 3.0.3 with Vbadvanced with no problem.
One advice read the instructions carefully and be patient take your time EACH step, I rushed my first install and made a mess and with thte second it was perfect.

Check the site if you like: www.automania.com.mx and www.clioclub.com.mx

SamirDarji 11-03-2004 03:54 PM

Quote:

Originally Posted by klaattu
Well some info in case someone need it>
I upgraded 2 sites from 2.3.5. with vbHome lite to Vb 3.0.3 with Vbadvanced with no problem.
One advice read the instructions carefully and be patient take your time EACH step, I rushed my first install and made a mess and with thte second it was perfect.

Check the site if you like: www.automania.com.mx and www.clioclub.com.mx

How did you get the module "Anuncios" to span across the entire page like that? That's something I'd like to do too.

klaattu 11-04-2004 04:37 AM

It actually very easy :

In style manager (on the admin cp) open the style you want to put the annoncement box.
Choose the nav bar template (its inside the nav bar breadcrum bla bla part)

with the nav bar template you will see this part .... "almost last part"

____warning this is only how the nav bar looks originally_______
Quote:

<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
<if condition="$show['pmstats']"><tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]">$vbphrase[private_messages]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="subscription.php?$session[sessionurl]">$vbphrase[subscribed_threads]</a></td></tr>
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php?$session[sessionurl]">$vbphrase[whos_online]</a></td></tr></if>

</table>
</div>
<!-- / user cp tools menu -->
</if>
<!-- / NAVBAR POPUP MENUS -->
</if>
after the last </if> insert the following:

Quote:

<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><strong>$vba_options[portal_blockbullet] Anuncios</strong></span></td>
</tr>
<tr>
<td class="$getbgrow" width="100%">

<center><a href="http://www.auto-mania.com.mx/foro/upload"><img src="http://www.auto-mania.com.mx/extras/anuncio.jpg" alt="Haz click aqui para ir al foro" border="1"></a></center>
</td>
</tr>
</table>
<br />

some explanations:

if you change the part that says "Anuncios" to what ever you like that will be the title of the BOX.

AFTER THIS <td class="$getbgrow" width="100%">

whatever you put there will appear INSIDE the box, in thi scase I put an image (centered) with a link and a little pop up explanation on the link.

dont hesitate to ask if you run into trouble...

after that just save the the navbar and voila...!

SamirDarji 11-04-2004 03:22 PM

Oooh, so it's just a static box in the style of the cmps. But won't that show up on every page? www.auto-mania.com.mx works just like how I would want mine to--only show up on the home page.

On a side note, I didn't realize there was that much tuning being done to cars there in Mexico. That's cool!

traderx 11-04-2004 04:26 PM

Hello All

I have started to add the left and right module on other pages as described in Integrating Other vB Pages & Hacks... following steps 4 & 5 for all of the pages (calendar.php and so on)

So far I am have problems with 3 of these files... newreply.php, newthread.php and poll.php. All of them worked correctly until I did the editting.

With newreply.php and newthread.php I get this when I click on the reply button:

Sorry! This forum is not accepting new posts.


With poll.php, I get a different error.... it all looks good until I hit submit poll:

TraderX, you do not have permission to access this page. This could be due to one of several reasons:

Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.


Other then these above I love this mod.... so any help would be great.
Coll

SamirDarji 11-04-2004 06:01 PM

See if logging in again and then immediately trying changes it or not. Try it with your admin login. Sounds like a permissions issue.

DaPro 11-05-2004 01:14 PM

Hey, I have a bit of a template problem, when I installed this portal onto my forums I got this line going down the left side that seems to be underneath everything on the left side. I have no idea where it came from as I disabled all on the left side. Can anyone help, here is a live view: http://www.otakutalk.com

Any help is appreciated!

jarvis 11-05-2004 01:31 PM

Wow, some great work that has gone into this script. I was amazed by Tigga's script for 2.x, and this one looks even more impressive.

Question though (as I get ready to move my site to 3.0.3), is this script still being supported? I see vbadvance.com with some MySQL errors and no sign of Tigga in the last several pages.

Also, there was mention of a PayPal "block" that I would really like to see, so if someone could point me in the right direction.

Thanks for your time, and the great addon!!!

TheMusicMan 11-05-2004 01:49 PM

Quote:

Originally Posted by jarvis
Wow, some great work that has gone into this script. I was amazed by Tigga's script for 2.x, and this one looks even more impressive.

Question though (as I get ready to move my site to 3.0.3), is this script still being supported? I see vbadvance.com with some MySQL errors and no sign of Tigga in the last several pages.

Also, there was mention of a PayPal "block" that I would really like to see, so if someone could point me in the right direction.

Thanks for your time, and the great addon!!!

You can find all the support you need for vBAdvanced CMPS over at http://www.vbadvanced.com/

The PayPal module is also there somewhere too. I just tried to vist and it looks as though Brian might be doing some work on teh site at the moment. Check back later and it should be OK.

jarvis 11-05-2004 01:53 PM

Quote:

Originally Posted by TheMusicMan
You can find all the support you need for vBAdvanced CMPS over at http://www.vbadvanced.com/

The PayPal module is also there somewhere too. I just tried to vist and it looks as though Brian might be doing some work on teh site at the moment. Check back later and it should be OK.

Great. Thank you for the update. I look forward to visiting his site and putting the hack to use. :)


All times are GMT. The time now is 06:00 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
  • Page Generation 0.02059 seconds
  • Memory Usage 1,866KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete